Added check for login when account is disabled.