Fix canary cookie setting in broken sign in flow
What does this MR do and why?
Fixes:
Continuation of the fixing started in !141613 (merged)
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.