Added fault handling for login lockout and added a test