Fix for issue #204

Simple fix for issue #204, which prevents ldap auth to work with servers not supporting v2 binds.