Fixes symfony 2.1 incompatibility

Translations has been introduced in symfony security component in
symfony 2.2 (symfony/symfony#963a1d7b81b4c083d031b629a8bfb933fdf6eea8)