fixes #5254, setting secure session cookie when https is used
fixes #5254, setting secure session cookie when https is used

git-svn-id: 5860920b332e8b1c20d5ac1ddb0cfb1512ef151a@7458 3807eeeb-6ff5-0310-8944-8be069107fe0

berrygoudswaard/cakephp,ionas/cakephp,erikfig/cakephp,tisu2tisu/cakephp,thinkingmedia/cakephp,berrygoudswaard/cakephp,web-player/cakephp,jeffblack360/cakephp,michaelze/cakephp,burriko/cakephp,CVO-Technologies/cakephp,tenkoma/cakephp,adopico/cakephp,ADmad/cakephp,cakephp-fr/cakephp,et304383/passbolt_api,dkarvounaris/cakephp,Phillaf/cakephp,dakota/cakephp,nrother/cakephp,michaelze/cakephp,petteyg/cakephp,eboominathan/cakephp,HavokInspiration/cakephp,mvdriel/cakephp,dakota/cakephp,CakeDC/cakephp,timhoeppner/cakephp,tgr0ss/cakephp,web-player/cakephp,erikfig/cakephp,dkarvounaris/cakephp,cakephp/cakephp,akintoey/cakephp,dkarvounaris/cakephp,petteyg/cakephp,ionas/cakephp,Phillaf/cakephp,ADmad/cakephp,pbaire/cakephp,adopico/cakephp,HavokInspiration/cakephp,akintoey/cakephp,CVO-Technologies/cakephp,petteyg/cakephp,jjj117/cakephp,CakeDC/cakephp,jerems02/cakephp,davidyell/cakephp,jeffblack360/cakephp,tenkoma/cakephp,tenkoma/cakephp,CakeDC/cakephp,erikfig/cakephp,yinhe007/cakephp,thinkingmedia/cakephp,tenkoma/cakephp,eryw/cakephp,mvdriel/cakephp,timhoeppner/cakephp,justinyost/cakephp,Balachan27/cakephp,ionas/cakephp,eboominathan/cakephp,cakephp-fr/cakephp,garethellis36/cakephp,nrother/cakephp,thinkingmedia/cakephp,davidyell/cakephp,jerems02/cakephp,CVO-Technologies/cakephp,justinyost/cakephp,web-player/cakephp,mvdriel/cakephp,ADmad/cakephp,tgr0ss/cakephp,cakephp/cakephp,davidyell/cakephp,kumamidori/cakephp,bravo-kernel/cakephp,tgr0ss/cakephp,timhoeppner/cakephp,ndm2/cakephp,Balachan27/cakephp,garethellis36/cakephp,garethellis36/cakephp,ndm2/cakephp,ndm2/cakephp,HavokInspiration/cakephp,eryw/cakephp,jeffblack360/cakephp,ADmad/cakephp,justinyost/cakephp,elboletaire/cakephp,dakota/cakephp,jjj117/cakephp,kumamidori/cakephp,michaelze/cakephp,burriko/cakephp,dakota/cakephp,jjj117/cakephp,bravo-kernel/cakephp,berrygoudswaard/cakephp,petteyg/cakephp,eboominathan/cakephp,garethellis36/cakephp,pbaire/cakephp,khoimt/cakephp-study,khoimt/cakephp-study,tisu2tisu/cakephp,ndm2/cakephp,elboletaire/cakephp,jerems02/cakephp,kumamidori/cakephp,eryw/cakephp,gmponos/cakephp,CakeDC/cakephp,et304383/passbolt_api,mvdriel/cakephp,pbaire/cakephp,elboletaire/cakephp,yinhe007/cakephp,khoimt/cakephp-study,et304383/passbolt_api,tisu2tisu/cakephp,Phillaf/cakephp,yinhe007/cakephp,et304383/passbolt_api,bravo-kernel/cakephp,akintoey/cakephp,burriko/cakephp,et304383/passbolt_api,nrother/cakephp,gmponos/cakephp,cakephp/cakephp,cakephp/cakephp,cakephp-fr/cakephp,adopico/cakephp,Balachan27/cakephp,gmponos/cakephp