Fixed issue with account name being disabled on login failure