public function testInitSessionCredentials()
{
$res = $this->doHttpRequest('GET', 'initSession/', ['auth' => [TU_USER, TU_PASS]]);
$this->assertNotEquals(null, $res, $this->last_error);
$this->assertEquals(200, $res->getStatusCode());
$this->assertContains("application/json; charset=UTF-8", $res->getHeader('content-type'));
$body = $res->getBody();
$data = json_decode($body, true);
$this->assertNotEquals(false, $data);
$this->assertArrayHasKey('session_token', $data);
return $data['session_token'];
}