Simple login and token storage for command-line client.