A quick test to see if the LDAP connection and credential parameters is valid can now be performed; fixed some other minor bugs in setup routine as well