Redirects back to registration/login page if passport.callback throws an error