Bug fix in handling pmid registration
Merge remote-tracking branch 'origin/next' into client
Changed to match updated Passport.