Fix redirect in login page