fixes #7537 Adds a test button to test LDAP connections on auth_source_l...

...daps forms
This function could belong in auth_source_ldap.js , no need for a separate file in my opinion