Allow more config options for CDN Distributor

When copy repodata and other files to remote
CDN host, the directory and authentication details
can be configured at multiple levels.