Fixed login button locking when the login failed

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>