public function authenticate()
{
$credentials = $this->configuration['authentication'];
$this->client->authenticate($credentials, $credentials['http-auth-type']);
$this->client->disableErrorListener(false);
$this->authenticated = $this->client->apiUser()->get();
}