Update CookieAuthenticate.php

SessionComponent is deprecated