Adds logging support and auth fixes; initial import from LDAP/NIS accounts