[frontend] Secure cookies.