BUG Fix BasicAuth not resetting failed login counts on authentication