Put the username and password in an HTTP Authentication Header specifying "Basic" authentication, using ifHttpHeader.AddHeader().
Make sure username

assword is Base64-encoded.
Look up "Basic access authentication" on Wikipedia.
https://github.com/belltown/