Add basic authentication.