Fixed an path error in the login flow