Fix canary cookie setting in between sign ins
What does this MR do and why?
Fixes #431847. Investigation to clearly understand the failure's root cause is still ongoing. The priority is to unblock quarantine tests due to cookie setting issues.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.