[FIX] auth_ldap: avoid to try twice the authentication to the ldap server

See #1982
Merge branch '7.0' of https://github.com/odoo/odoo into 7.0-win32