code: private void initializeConnection(String user, String password, String restApiBaseUrl) {
  		csrfToken = null;
  		cookies = new HashMap<String, Cookie>();
  		
  		connection = ClientHelper.createClient().register(HttpAuthenticationFeature.basic(user, password)).target(restApiBaseUrl);
  	}
docs: Initializes the connection.
  @param user The user name in Kiuwan.
  @param password The password in Kiuwan.
  @param restApiBaseUrl Base URL for REST-API.