Flag cookie session as secure by Configuration AppSettings

<add key="ss:Cookie:SecureAsRequest" value="true" />

I have updated the code to follow the existing API.