Make secure cookies configurable.