Implement HTTP basic authentication