Support username/password for cli
This should fix #299