docs: protected String buildBasicAuthValue(String key){
  		String base64Creds;
  		try {
  			base64Creds = key == null ? "" : Base64.encodeBase64String(key.getBytes("UTF-8"));
  		} catch (UnsupportedEncodingException e) {
  			throw new IllegalStateException("Failed to encode", e);
  		}
  		return "Basic " + base64Creds;
  	}