Refactor and improve coverage of HttpAuthHandlerTest.

Refactor the HttpAuthHandler and add a new test for the
useHttpAuthUsernamePassword API.

BUG:7034995
Change-Id: If5a00c4bda3785a399540ffd974febca2c2d1d30
1 file changed