doLoginFail and MaxSessions exceptions control