Update CookieAuthenticateTest.php

This should fix failing build
Merge pull request #37 from boindil/patch-1

Remove use of deprecated SessionComponent