Fix problem with creating new profiles via API.
Merge pull request #676 from ORCID/fixApiCreate

Fix problem with creating new profiles via API.