Angular (running in the page) can't access the CSRF token if the cookie
is set to secure. This is a temporary patch to resolve the issue whilst
a more permanent fix is found.
This reverts patch I1ded951d79ad9fa832d1e88f656a1e064b1ef007
(essentially).
Change-Id: Ied9d0f5486c260a17da9375ec6347d0952154225
Related-Bug: #1822751
Closes-Bug: #1853173