Fix #16 security LDAP improvements for ActiveDirectory support (GEOS-5805)

...5)