[NEXUS-7800] add 'shiro.secureSessionCookies' property

Cherry-picking https://github.com/sonatype/nexus-oss/pull/913 to master

https://issues.sonatype.org/browse/NEXUS-7800