Update client to exit login loop if successful, #6