The NotesRegistration.AddUserProfile method is not working correctly. The workaround is to use the GetDocumentByKey method to find person documents and replace the value. This will be fixed in a future release.