[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
http://bamboo.s/browse/NX-OSSF448-1 :white_check_mark: