Creates an authenticator for HTTP Basic (username/password) auth.
BasicAuthenticator({required this.username, required this.password});