Fixed login failure