Add basic authentication features.