Fix EZP-20809: ezuser: allow user to log in even when userinfocache is corrupted
Merge pull request #859 from guillaumelecerf/EZP-20809

Fix EZP-20809: ezuser: allow user to log in even when userinfocache is c...
Follow-up EZP-21820 & EZP-22174: further simplifications
Merge pull request #862 from guillaumelecerf/followup_EZP-21820_EZP-22174

Follow-up EZP-21820 & EZP-22174: further simplifications