Make the bundle work again with symfony ~2.2
Fix exception if no token is available
Update composer.json