Fix exception when finding user by email and user does not have one set.
Merge pull request #372 from petedavis/admin_email_error

Fix exception when finding user by email and user does not have one set.