Fixed incorrect redirect on login page