(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.