Add logged_in() method to client
Fix bug in TTRAuth