/**
* Creates the RestClient for the portal. This is provided here so Testcases are able to override the base implementation.
*/
protected RestClient newPortalClient() {
URI baseUri = URI.create(String.format("%s://%s:%s", protocol, host, portalPort));
return new RestClient(baseUri, this);
}