ldap backed database user config loader

There are two many configurations for user resolver. Can we relook at simplifying this?