Adds basic authentication to web server