chore(ldap): use plugin based config

- use plugin-based config in testcase