Fixes #4627: Separate the LDAP initialization logic from rudder-server-r...

...oot

Ticket: http://www.rudder-project.org/redmine/issues/4627

To be merged in master