public function successfulAuthenticationDoesStartASessionIfTokenRequiresIt()
{
$arguments = [];
$arguments['__authentication']['TYPO3']['Flow']['Security']['Authentication']['Token']['UsernamePassword']['username'] = 'functional_test_account';
$arguments['__authentication']['TYPO3']['Flow']['Security']['Authentication']['Token']['UsernamePassword']['password'] = 'a_very_secure_long_password';
$response = $this->browser->request('http://localhost/test/security/authentication/usernamepassword', 'POST', $arguments);
$this->assertNotEmpty($response->getCookies());
}