Using correct URL for authentication.