Fixed problem where public client source reverts on resave.
Merge pull request #1643 from ORCID/fixResaveProfile

Fixed problem where public client source reverts on resave.