Current tab detected & fixing LDAP Authentication problems