Optionally store user credentials for SASL refresh

Replaces the alternate username/password authentication file format with a command line option for storing same with the SASL token, in a format managed by the application. Credentials are used to re-authenticate if the token expires.

This incorporates #67, in an attempt to keep history in sync.

Tested with broken network connection and manually corrupted token.