Fixes #4403: allow to configure LDAP authentication from property file

The main painful part was to understand that we must have system properties to be able to use them at the time the import is resolve. 

Perphaps a better solution would have been to configure everything in code, but the spring-security part is awful.