/**
  * Create session at Registry side and receive authToken
  * 
  * @param $login - Registrar login
  * @param $password - Registrar password
  * 
  * @return str - Response json
  */
 public function login($login, $password, $cltrid = false)
 {
     $json = ApiRequest::PUT('/auth', $cltrid ?: ApiRequest::defaultClientTransactionID(), '', array(), array('login' => $login, 'password' => $password));
     $response = CommonFunctions::fromJSON($json);
     if ($response->code == 1000) {
         $this->_sessionData['login'] = $response->result['login'];
         $this->_sessionData['token'] = $response->result['token'];
         $this->_sessionData['created'] = $response->result['created'];
         $this->_sessionData['expires'] = $response->result['expires'];
     }
     return $json;
 }