fix _get_user AttributeError for LDAP users

fixes #9
Merge branch 'icehouse' into devel