Backport of Symfony 2.4 SimplePreAuthenticatorInterface to 2.3 LTS branch