Remove obsolete code from LoginLdap plugin class.
--amend
Move all config related code (or most of it) to new utility class made for configuration.