Error handling in Client#log_in