LDAP Authentication faulty

The LDAP Authentication only test the POST authentication however we're allowed to authenticate using the function (for example via WebServices).
Merge pull request #1677 from guerinaxel/patch-6

LDAP Authentication faulty