Initial version of token-generating code. Install in a shibboleth protected location
and issue a GET to get a token (suitable for "Authorization: Bearer TOKEN") and also
a username/password (suitable for DIGEST or BASIC auth).