Мне нравится, как Wallgate использовал собственный Адаптер, предварительно заполнив логин. Попробую позже. Прямо сейчас я использую это.
// login as a valid user
$this->request
->setMethod('POST')
->setPost(array(
'username' => 'foobar',
'password' => 'foobar'
));
$this->dispatch('/user/login');
// to make another request, we need to reset both request and response
$this->resetRequest();
$this->resetResponse();
$this->dispatch('user/contactdetail');
Последняя строка приводит к успешной авторизации на странице.