Fix the authentification redirection.