Add support for checking if login button is enabled or disabled.