Documentation on login failure handling