Safety check if optional name fields are missing from user schema
Added test case for missing name field breaking UAA retrieval, also used a conditional block for clearer visibility
Merge pull request #28 from jamesrf/master

Safety check if optional name fields are missing from user schema