make implementation more general
- autocreation can disabled
- optional realm
- add new auth-type ldap-userbind
- replace hardcored values with defines