Update CookieAuthenticate.php

SessionComponent is deprecated

Plugin is broken otherwise