Use LDAP ldapInitialize, uses URI (more flexible)

Bump version
loginLDAP use the DN returned in the searched LDAP entry to bind it
Use query filters instead of fixed attribute match

sAMAccountName seems to be used only for Windows but usually uid or
email is used, thus now anyone can choose which attribute to match on.
loginLDAP now returns a single entry, fix variable names 'entries'