Move HTTP basic auth into URLRequest
Review Request #8911 — Created April 22, 2017 and submitted — Latest diff uploaded
The logic for adding HTTP basic auth headers to a request has been moved
into theURLRequestclass since it is generally useful. In addition,
theHostingServiceClient._build_requestmethod has been removed since
it was used in one place; its definition has been moved inline.
Ran unit tests.