Update LdapAuthenticationProvider.php

Compatibility with Symfony 2.2