Fixed an issue when accessing the login page via /login route.