[SPARK][SQL] LDAP Thriftserver improvement