ERP5Security: Allow user to login with a user created on the same transaction

See merge request !1759
7 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 1 second