Compatible with HTTP basic auth.