(PUP-2920) Make PMT authenticate with forge and request extra modules.

Before this PMT only supported basic authentication which the Puppet Forge
does not. This adds the ability to configure other authentication
methods and request that forge include extra module groups in responses.
Checking the feature will cause it to be required, so I don't think this code is necessary.