Corrected LDAP bug

Code by drizzt at http://dolibarr.es/index.php/foro/7-bugs-versiones-estables/4152-error-en-validacion-contra-ldapcontrasena-vacia?limit=6&start=12#4209