Fix to support openLDAP / posix style LDAP

Config options added and user authentication code updated to support a posix
/ OpenLDAP type of query.

TODO: Welcome message shows "uid=username" instead of just username, or
firstname.