Handles login event for RegScale -- API v2.0post https://{baseUrl}/api/authentication/loginUsed for logging into the application