Fix auth url
Fix API method for getting the auth URL