Fix and test for USERGRID-49
Null check to fix NPE when user validation fails due to missing email
Merge pull request #141 from aweeraman/USERGRID-49

Fix and test for USERGRID-49