support defining the token via basic auth, to allow for .netrc support
support defining the token via basic auth, to allow for .netrc support

Lots of http clients (e.g. httpie) support a ~/.netrc file, that can look
like this:

machine travis-cloud-brain-staging.herokuapp.com
  login token
  password 0-very-secret-token

travis-ci/cloud-brain,travis-ci/cloud-brain