Fix error handling in the auth redirector.