Use client.post more. Correct interface change in cli/auth.py (Merges in some code from the ruby-sync branch).