Fixed bug that allow input a invalid password

When the user intruduces an invalid password, the login form was not being shown