Fix redirect path upon failed login