Extract ldap server into environment

Allows using a different ldap server for development than on production.