Fix issues with Person.setUserId unicity check

Person.setUserId is heavy, it serializes person module to prevent concurrency,
but in some cases we the risk of having duplicate user ids is under control, so
we don't want to pay the performance price.

See merge request !1242
7 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

00:42:44

failed ERP5.PerformanceTest-Master

00:31:14

failed ERP5.UnitTest-Master

01:23:34

failed ERP5.UnitTest-Master.Medusa

01:25:35

passed SlapOS.Eggs.UnitTest-Master.Python2

00:16:37

passed SlapOS.Eggs.UnitTest-Master.Python3

00:23:17

passed SlapOS.Eggs.UnitTest-Master.Python2

00:17:16