Use a singly created set while copying cookies
Use a singly created set while copying cookies

Previously a tuple was being created while iterating over each of the
arguments of a cookie for every cookie. This will prevent creating a tuple
that many times and uses a set to increase the performance of look-up using
`in`.

Change-Id: I10ffccae8eb3a9cb41b1045a08b891fed43efd99
Closes-Bug: 1359245

redhat-cip/horizon,tqtran7/horizon,maestro-hybrid-cloud/horizon,endorphinl/horizon-fork,bigswitch/horizon,gerrive/horizon,mrunge/openstack_horizon,BiznetGIO/horizon,wolverineav/horizon,promptworks/horizon,NeCTAR-RC/horizon,noironetworks/horizon,promptworks/horizon,nvoron23/avos,eayunstack/horizon,CiscoSystems/avos,wangxiangyu/horizon,bac/horizon,davidcusatis/horizon,mdavid/horizon,takeshineshiro/horizon,Solinea/horizon,izadorozhna/dashboard_integration_tests,watonyweng/horizon,dan1/horizon-x509,ChameleonCloud/horizon,luhanhan/horizon,dan1/horizon-x509,orbitfp7/horizon,Tesora/tesora-horizon,ging/horizon,j4/horizon,NCI-Cloud/horizon,NeCTAR-RC/horizon,doug-fish/horizon,NCI-Cloud/horizon,Daniex/horizon,redhat-openstack/horizon,redhat-cip/horizon,maestro-hybrid-cloud/horizon,promptworks/horizon,bigswitch/horizon,vladryk/horizon,yeming233/horizon,Daniex/horizon,openstack/horizon,bac/horizon,Metaswitch/horizon,Metaswitch/horizon,CiscoSystems/horizon,coreycb/horizon,xinwu/horizon,CiscoSystems/avos,noironetworks/horizon,tsufiev/horizon,agileblaze/OpenStackTwoFactorAuthentication,tsufiev/horizon,tellesnobrega/horizon,blueboxgroup/horizon,redhat-openstack/horizon,NCI-Cloud/horizon,Dark-Hacker/horizon,VaneCloud/horizon,liyitest/rr,agileblaze/OpenStackTwoFactorAuthentication,NCI-Cloud/horizon,luhanhan/horizon,Hodorable/0602,wolverineav/horizon,watonyweng/horizon,damien-dg/horizon,damien-dg/horizon,saydulk/horizon,FNST-OpenStack/horizon,mrunge/horizon,anthonydillon/horizon,gerrive/horizon,kfox1111/horizon,karthik-suresh/horizon,zouyapeng/horizon,endorphinl/horizon,yjxtogo/horizon,xinwu/horizon,Hodorable/0602,mrunge/horizon_lib,Tesora/tesora-horizon,yjxtogo/horizon,tqtran7/horizon,philoniare/horizon,karthik-suresh/horizon,pranavtendolkr/horizon,CiscoSystems/horizon,zouyapeng/horizon,endorphinl/horizon-fork,mandeepdhami/horizon,wolverineav/horizon,philoniare/horizon,Daniex/horizon,mrunge/horizon,wolverineav/horizon,damien-dg/horizon,henaras/horizon,liyitest/rr,openstack/horizon,Solinea/horizon,saydulk/horizon,karthik-suresh/horizon,CiscoSystems/horizon,Mirantis/mos-horizon,CiscoSystems/horizon,icloudrnd/automation_tools,sandvine/horizon,maestro-hybrid-cloud/horizon,tellesnobrega/horizon,yjxtogo/horizon,Solinea/horizon,sandvine/horizon,BiznetGIO/horizon,RudoCris/horizon,newrocknj/horizon,xme1226/horizon,openstack/horizon,zouyapeng/horizon,wangxiangyu/horizon,eayunstack/horizon,dan1/horizon-proto,Dark-Hacker/horizon,noironetworks/horizon,promptworks/horizon,watonyweng/horizon,tsufiev/horizon,RudoCris/horizon,xinwu/horizon,openstack/horizon,takeshineshiro/horizon,pranavtendolkr/horizon,sandvine/horizon,maestro-hybrid-cloud/horizon,ChameleonCloud/horizon,endorphinl/horizon,saydulk/horizon,dan1/horizon-x509,mdavid/horizon,Dark-Hacker/horizon,orbitfp7/horizon,liyitest/rr,eayunstack/horizon,flochaz/horizon,CiscoSystems/avos,wangxiangyu/horizon,idjaw/horizon,bigswitch/horizon,froyobin/horizon,blueboxgroup/horizon,django-leonardo/horizon,orbitfp7/horizon,philoniare/horizon,luhanhan/horizon,anthonydillon/horizon,Mirantis/mos-horizon,endorphinl/horizon-fork,yeming233/horizon,Hodorable/0602,endorphinl/horizon,bac/horizon,mrunge/openstack_horizon,vladryk/horizon,ging/horizon,yeming233/horizon,newrocknj/horizon,vladryk/horizon,icloudrnd/automation_tools,BiznetGIO/horizon,luhanhan/horizon,idjaw/horizon,tellesnobrega/horizon,redhat-cip/horizon,pranavtendolkr/horizon,kfox1111/horizon,Hodorable/0602,zouyapeng/horizon,philoniare/horizon,noironetworks/horizon,liyitest/rr,Solinea/horizon,coreycb/horizon,izadorozhna/dashboard_integration_tests,xinwu/horizon,davidcusatis/horizon,xme1226/horizon,redhat-openstack/horizon,ging/horizon,anthonydillon/horizon,newrocknj/horizon,dan1/horizon-x509,tellesnobrega/horizon,agileblaze/OpenStackTwoFactorAuthentication,tsufiev/horizon,Tesora/tesora-horizon,Mirantis/mos-horizon,froyobin/horizon,VaneCloud/horizon,VaneCloud/horizon,anthonydillon/horizon,VaneCloud/horizon,wangxiangyu/horizon,kfox1111/horizon,takeshineshiro/horizon,yjxtogo/horizon,Metaswitch/horizon,doug-fish/horizon,Tesora/tesora-horizon,blueboxgroup/horizon,mandeepdhami/horizon,sandvine/horizon,mrunge/horizon_lib,mrunge/openstack_horizon,Mirantis/mos-horizon,bigswitch/horizon,mrunge/horizon_lib,dan1/horizon-proto,ChameleonCloud/horizon,bac/horizon,FNST-OpenStack/horizon,saydulk/horizon,FNST-OpenStack/horizon,nvoron23/avos,mdavid/horizon,Dark-Hacker/horizon,tqtran7/horizon,flochaz/horizon,coreycb/horizon,coreycb/horizon,mrunge/horizon,damien-dg/horizon,icloudrnd/automation_tools,gerrive/horizon,Metaswitch/horizon,BiznetGIO/horizon,nvoron23/avos,django-leonardo/horizon,gerrive/horizon,takeshineshiro/horizon,Daniex/horizon,yeming233/horizon,ging/horizon,endorphinl/horizon,icloudrnd/automation_tools,FNST-OpenStack/horizon,doug-fish/horizon,newrocknj/horizon,henaras/horizon,flochaz/horizon,CiscoSystems/avos,RudoCris/horizon,flochaz/horizon,doug-fish/horizon,j4/horizon,xme1226/horizon,dan1/horizon-proto,django-leonardo/horizon,orbitfp7/horizon,henaras/horizon,kfox1111/horizon,idjaw/horizon,django-leonardo/horizon,davidcusatis/horizon,redhat-openstack/horizon,idjaw/horizon,karthik-suresh/horizon,redhat-cip/horizon,ChameleonCloud/horizon,j4/horizon,agileblaze/OpenStackTwoFactorAuthentication,dan1/horizon-proto,nvoron23/avos,blueboxgroup/horizon,endorphinl/horizon-fork,j4/horizon,vladryk/horizon,watonyweng/horizon,mandeepdhami/horizon,henaras/horizon,mandeepdhami/horizon,RudoCris/horizon,davidcusatis/horizon,pranavtendolkr/horizon,NeCTAR-RC/horizon,NeCTAR-RC/horizon,mdavid/horizon,tqtran7/horizon,froyobin/horizon