Add basic authentication support.