Correctly handle configuration values containing spaces.

For example, the binddn may legitimately contain a space, eg
uid=user,ou=Service Accounts,dc=example,dc=org