Implemented BASIC authentication with unit testing. There seems to be a
bug in the server as a 404 doesn't free the connection right away and
any subsequent request issues a 503