pkg/authorization: make it goroutine-safe
pkg/authorization: make it goroutine-safe

It was racy on config reload

Signed-off-by: Alexander Morozov <4efb7da3e38416208b41d8021a942884d8a9435c@docker.com>

tmp6154/docker,jlhawn/docker,laijs/moby,fcrisciani/docker,crosbymichael/docker,crosbymichael/docker,stevvooe/docker,xuxinkun/docker,KarthikNayak/docker,dmcgowan/docker,HideoYamauchi/docker,rancher/docker,gschaetz/moby,gnailuy/docker,jimjag/docker,yummypeng/docker,duglin/docker,mike1729/docker,darrenstahlmsft/docker,rremer/moby,erikh/docker,konstruktoid/docker-upstream,nawawi/docker,tianon/docker,paralin/docker,miminar/docker,ffoysal/docker,prertik/docker,whuwxl/docker,YuPengZTE/docker,sterchelen/docker,whuwxl/docker,tklauser/docker,trebonian/docker,moul/docker,alfred-landrum/docker,kolyshkin/docker,yongtang/docker,amatsus/docker,KarthikNayak/docker,tophj-ibm/docker,tianon/docker,shishir-a412ed/docker,prertik/docker,imkin/moby,nalind/docker,resin-io/docker,hqhq/moby,laijs/moby,AkihiroSuda/docker,fcrisciani/docker,yasiramin10p/moby,harche/docker,djs55/docker,shishir-a412ed/docker,SvenDowideit/docker,michael-holzheu/docker,ffoysal/docker,bearstech/moby,jameszhan/docker,dperny/docker,justincormack/docker,paralin/docker,jthelin/docker,danyalKhaliq10p/moby,tmp6154/docker,mahak/docker,mahak/docker,mtrmac/docker,haveatry/docker,rhatdan/docker,noironetworks/docker,naveed-jamil-tenpearls/moby,coolljt0725/docker,jvanz/docker,nawawi/docker,AkihiroSuda/docker,fcrisciani/docker,darrenstahlmsft/docker,dims/docker,rhatdan/docker,cpuguy83/docker,scotttlin/docker,stevvooe/docker,moypray/docker,sdurrheimer/docker,thaJeztah/docker,ripcurld0/moby,dims/docker,mtesselH/docker,docker/docker,alfred-landrum/docker,cpuguy83/docker,estesp/docker,lixiaobing10051267/docker,thtanaka/docker,Ramzec/docker,pramodhkp/moby,jwhonce/docker,srust/docker,jvanz/docker,pramodhkp/moby,KingEmet/docker,yummypeng/docker,shhsu/docker,raja-sami-10p/moby,mtesselH/docker,mtesselH/docker,yongtang/docker,noironetworks/docker,mike1729/docker,nawawi/docker,allencloud/docker,Mokolea/docker,unclejack/docker,xuxinkun/docker,endophage/docker,jlhawn/docker,harche/docker,moby/moby,erikh/docker,tklauser/docker,maxamillion/docker,q384566678/docker,kolyshkin/docker,duglin/docker,ffoysal/docker,tonistiigi/docker,jwhonce/docker,qudongfang/docker,akira-baruah/docker,Ramzec/docker,duglin/docker,kolyshkin/moby,trebonian/docker,jvanz/docker,konstruktoid/docker-1,bonczj/moby-json-file-logger,bearstech/moby,JMesser81/docker,qudongfang/docker,mikedougherty/docker,coolljt0725/docker,coreos/docker,cpuguy83/docker,yasiramin10p/moby,Mokolea/docker,laijs/docker,raja-sami-10p/moby,harche/docker,mikebrow/docker,liaoqingwei/docker,ibuildthecloud/docker,moul/docker,trebonian/docker,moypray/docker,rremer/moby,tophj-ibm/docker,gschaetz/moby,flavio/docker,JMesser81/docker,thaJeztah/docker,sdurrheimer/docker,PatrickLang/moby,cyphar/docker,HideoYamauchi/docker,Ramzec/docker,SvenDowideit/docker,x1022as/docker,Ramzec/docker,pramodhkp/moby,moul/docker,shhsu/docker,mkumatag/docker,justincormack/docker,mstanleyjones/docker,konstruktoid/docker-1,imkin/moby,gnailuy/docker,imkin/moby,PatrickLang/moby,dccurtis/docker,djs55/docker,jwhonce/docker,ndeloof/docker,docker/docker,crosbymichael/docker,ColinHebert/docker,darrenstahlmsft/moby,q384566678/docker,charleszheng44/moby,yongtang/docker,lixiaobing1/docker,charleszheng44/moby,kojiromike/docker,konstruktoid/docker-1,srust/docker,mikebrow/docker,laijs/moby,johnstep/moby-moby,AkihiroSuda/docker,mstanleyjones/docker,mkumatag/docker,ColinHebert/docker,tmp6154/docker,konstruktoid/docker-upstream,SvenDowideit/docker,dims/docker,allencloud/docker,charleszheng44/moby,sarnautov/moby,sterchelen/docker,nalind/docker,flavio/docker,qudongfang/docker,madhanrm/docker,dmcgowan/docker,pradipd/moby,whuwxl/docker,konstruktoid/docker-upstream,diogomonica/docker,amatsus/docker,mixja/docker,Syntaxide/docker,catinthesky/docker,dsheets/moby,shhsu/docker,thtanaka/docker,erikstmartin/docker,vdemeester/docker,Mokolea/docker,amatsus/docker,sarnautov/moby,laijs/docker,diogomonica/docker,dmcgowan/docker,tophj-ibm/moby,yosifkit/docker,cyphar/docker,unclejack/docker,erikh/docker,sdurrheimer/docker,maxamillion/docker,darrenstahlmsft/docker,lixiaobing1/docker,maxamillion/docker,allencloud/docker,paralin/docker,moby/moby,gjaskiewicz/moby,YuPengZTE/docker,jameszhan/docker,Syntaxide/docker,tophj-ibm/moby,mikedougherty/docker,hqhq/moby,jlhawn/docker,alfred-landrum/docker,haveatry/docker,sterchelen/docker,vdemeester/docker,ndeloof/docker,madhanrm/docker,diogomonica/docker,Mokolea/docker,POLJM242/docker,danyalKhaliq10p/moby,gschaetz/moby,KingEmet/docker,yosifkit/docker,ibuildthecloud/docker,tophj-ibm/moby,KingEmet/docker,ibuildthecloud/docker,johnstep/moby-moby,dgageot/docker,endophage/docker,mikedougherty/docker,estesp/docker,KarthikNayak/docker,kencochrane/docker,thtanaka/docker,moby/moby,madhanrm/docker,lixiaobing10051267/docker,jimjag/docker,ibuildthecloud/docker,erikstmartin/docker,shishir-a412ed/docker,prertik/docker,msabansal/docker,mahak/docker,POLJM242/docker,bearstech/moby,q384566678/docker,yosifkit/docker,mahak/docker,dsheets/moby,ripcurld0/moby,erikstmartin/docker,liaoqingwei/docker,stevvooe/docker,srust/docker,gjaskiewicz/moby,moypray/docker,catinthesky/docker,bearstech/moby,docker/docker,unclejack/docker,mixja/docker,nalind/docker,ColinHebert/docker,tonistiigi/docker,mike1729/docker,mikebrow/docker,nawawi/docker,scotttlin/docker,rhatdan/docker,JMesser81/docker,yummypeng/docker,moul/docker,tonistiigi/docker,ibuildthecloud/docker,justincormack/docker,dccurtis/docker,lixiaobing1/docker,rremer/moby,naveed-jamil-tenpearls/moby,thaJeztah/docker,tophj-ibm/docker,bonczj/moby-json-file-logger,dperny/docker,ripcurld0/moby,danyalKhaliq10p/moby,haveatry/docker,ndeloof/docker,jimjag/docker,thaJeztah/docker,kolyshkin/moby,yosifkit/docker,noironetworks/docker,gnailuy/docker,miminar/docker,dperny/docker,catinthesky/docker,flavio/docker,akira-baruah/docker,scotttlin/docker,rancher/docker,YuPengZTE/docker,msabansal/docker,raja-sami-10p/moby,rancher/docker,resin-io/docker,nalind/docker,lixiaobing10051267/docker,mkumatag/docker,mstanleyjones/docker,sarnautov/moby,x1022as/docker,vdemeester/docker,jameszhan/docker,moby/moby,darrenstahlmsft/moby,msabansal/docker,cpuguy83/docker,kencochrane/docker,resin-io/docker,dgageot/docker,djs55/docker,paralin/docker,kojiromike/docker,endophage/docker,gjaskiewicz/moby,AkihiroSuda/docker,hqhq/moby,tklauser/docker,kolyshkin/moby,pradipd/moby,mtrmac/docker,konstruktoid/docker-upstream,coreos/docker,bonczj/moby-json-file-logger,johnstep/moby-moby,HideoYamauchi/docker,dccurtis/docker,dgageot/docker,naveed-jamil-tenpearls/moby,laijs/docker,gnailuy/docker,miminar/docker,jthelin/docker,Syntaxide/docker,yasiramin10p/moby,coolljt0725/docker,flavio/docker,michael-holzheu/docker,mtrmac/docker,liaoqingwei/docker,estesp/docker,cyphar/docker,PatrickLang/moby,x1022as/docker,jimjag/docker,pradipd/moby,kojiromike/docker,trebonian/docker,dsheets/moby,xuxinkun/docker,coreos/docker,michael-holzheu/docker,darrenstahlmsft/moby,mixja/docker,kencochrane/docker