Move HTTP basic auth into URLRequest

Review Request #8911 — Created April 21, 2017 and submitted — Latest diff uploaded

Information

Review Board
release-2.5.x

Reviewers

The logic for adding HTTP basic auth headers to a request has been moved
into the URLRequest class since it is generally useful. In addition,
the HostingServiceClient._build_request method has been removed since
it was used in one place; its definition has been moved inline.

Ran unit tests.