static: disables log in button

When the user clicks the log in button, the button will be disabled
while the user name and password are being verified. While the fields
are being verified, the "Wrong username or password" dialog will be
hidden if already shown.