[Koha-bugs] [Bug 35518] Call to C4::Context->userenv happens before it's gets populated breaks code logic in circulation