Updated the redirect url in the case of a failed authentication.