fixup! patches/CookieCrumbler: backport the Unauthorized handling and redirects

5 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.CodingStyleTest-Master

01:05:50

passed ERP5.PerformanceTest-Master

00:26:49

passed ERP5.UnitTest-Master

01:32:15

passed SlapOS.Eggs.UnitTest-Master.Python2

00:17:43

passed Wendelin.UnitTest-Master

00:42:25