Add wait when trying to login.