code: public void authenticate(URI aSite, String aLogin, char[] aPwd) {
  		rath.addSite(aSite, aLogin, aPwd);
  	}
docs: Register this root URI for authentication. Whenever a URL is requested that starts with this root, the credentials given are used for HTTP AUTH. Note that currently authentication information is
  shared across all Resty instances. This is due to the shortcomings of the java.net authentication mechanism. This might change should Resty adopt HttpClient and is the reason why this method is
  not a static one.
  
  @param aSite
  the root URI of the site
  @param aLogin
  the login name
  @param aPwd
  the password. The array will not be internally copied. Whenever you null it, the password is gone within Resty