Allow the LDAP configuration options to be fetched asynchronously

This is usefull for example if you want to reconfigure your application
without having to restart your node server.