Got basic authentication working