(#7173) Add HTTP basic auth support to HTTP reporting in Puppet.

Does the following:

 * Add logic in Puppet::Reports::Http to properly handle HTTP basic auth using the form http://username:password@host/path
 * Add a unit test to make sure HTTP basic auth is done if it is given in the url