Add basic auth

This adds in HTTP basic access authentication, which is natively supported by Node.js and is pretty common among APIs, especially over HTTPS.