Update CookieAuthenticate.php

SessionComponent is deprecated
Merge pull request #35 from boindil/patch-1

Update CookieAuthenticate.php