CLIConnectionFactory.basicAuth was defined but never used.
Fixed to pass basic auth to HTTP connections when included in user info portion of URL (e.g. as API token).