[WFCORE-286] Only create a RealmUser in a generic way if really needed.
Merge pull request #365 from darranl/WFCORE-286

[WFCORE-286] Only create a RealmUser in a generic way if really needed.