Add SameSite and secure cookie.

Closes #3534993

Merge request reports

Loading