Fixes #5591, adding authorization for Red Hat Repositories.

Also as part of this commit, a fair amount of unused provider
code was removed.