Secure frontend cookie implementation for HTTPS only stores.