How to programmatically login user in Symfony2 and CakePHP