(OFBIZ-6655) This is somehow related with OFBIZ-6655 because it's there that Deepak reverted r1719762 (actually r1719939). It was right to do so at r1722379 for RequesHandler but not for the other files. Because it now does not handle security for cookies which are not session cookies. It's minor but still a risk, notably for autoLoginCookie This reapplies r1719762 for the other files to make other than session cookies secure. I will not backport git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809687 13f79535-47bb-0310-9956-ffa450edef68