protected function setConfig(Config $config)
 {
     $this->config = $config;
     // (re)set auth now the config is set
     $this->setAuth($this->config->getApiUsername(), $this->config->getApiPassword());
 }