Fix HTTP push to public repos
Fix HTTP push to public repos

When doing an HTTP push, git (as of v1.7.9) first do an info/refs
request, and only if this request requires authentication it asks the
user for its password and authenticates further requests.

The initial request normally clears without auth on public repos as it
doesn't update any ref. This patch forces every git-receive-pack
requests to provide authentication.

chenrui2014/gitlabhq,zrbsprite/gitlabhq,dplarson/gitlabhq,Burick/gitlabhq,shinexiao/gitlabhq,pulkit21/gitlabhq,koreamic/gitlabhq,zBMNForks/gitlabhq,yfaizal/gitlabhq,yfaizal/gitlabhq,mmkassem/gitlabhq,kitech/gitlabhq,windymid/test2,stanhu/gitlabhq,daiyu/gitlab-zh,LytayTOUCH/gitlabhq,pkallberg/tjenare,cncodog/gitlab,bbodenmiller/gitlabhq,vjustov/gitlabhq,cui-liqiang/gitlab-ce,jrjang/gitlabhq,hacsoc/gitlabhq,ngpestelos/gitlabhq,jrjang/gitlabhq,yulchitaj/TEST3,rebecamendez/gitlabhq,theodi/gitlabhq,michaKFromParis/gitlabhqold,adaiguoguo/gitlab_globalserarch,ttasanen/gitlabhq,TheWatcher/gitlabhq,fgbreel/gitlabhq,nguyen-tien-mulodo/gitlabhq,iiet/iiet-git,fgbreel/gitlabhq,vjustov/gitlabhq,theodi/gitlabhq,mathstuf/gitlabhq,joalmeid/gitlabhq,bladealslayer/gitlabhq,fantasywind/gitlabhq,ZeoAlliance/gitlabhq,rfeese/gitlab-ce,MauriceMohlek/gitlabhq,ferdinandrosario/gitlabhq,jaepyoung/gitlabhq,akumetsuv/gitlab,icedwater/gitlabhq,yama07/gitlabhq,yonglehou/gitlabhq,hq804116393/gitlabhq,bozaro/gitlabhq,zrbsprite/gitlabhq,ksoichiro/gitlabhq,since2014/gitlabhq,Soullivaneuh/gitlabhq,Burick/gitlabhq,youprofit/gitlabhq,luzhongyang/gitlabhq,yuyue2013/ss,rfeese/gitlab-ce,fpgentil/gitlabhq,bozaro/gitlabhq,vjustov/gitlabhq,martinma4/gitlabhq,ngpestelos/gitlabhq,Soullivaneuh/gitlabhq,Tyrael/gitlabhq,iiet/iiet-git,sue445/gitlabhq,luzhongyang/gitlabhq,sue445/gitlabhq,williamherry/gitlabhq,fscherwi/gitlabhq,martinma4/gitlabhq,123Haynes/gitlabhq,dukex/gitlabhq,k4zzk/gitlabhq,SkyWei/gitlabhq,kitech/gitlabhq,mavimo/gitlabhq,eliasp/gitlabhq,copystudy/gitlabhq,openwide-java/gitlabhq,cinderblock/gitlabhq,jrjang/gitlab-ce,allistera/gitlabhq,rfeese/gitlab-ce,123Haynes/gitlabhq,hacsoc/gitlabhq,k4zzk/gitlabhq,Telekom-PD/gitlabhq,eliasp/gitlabhq,gorgee/gitlabhq,Exeia/gitlabhq,MauriceMohlek/gitlabhq,whluwit/gitlabhq,yatish27/gitlabhq,ayufan/gitlabhq,tk23/gitlabhq,chadyred/gitlabhq,michaKFromParis/sparkslab,shinexiao/gitlabhq,tk23/gitlabhq,michaKFromParis/gitlabhqold,Kambda/mobbr-gitlabhq,xuvw/gitlabhq,pkgr/gitlabhq,dplarson/gitlabhq,bladealslayer/gitlabhq,eliasp/gitlabhq,szechyjs/gitlabhq,gorgee/gitlabhq,ikappas/gitlabhq,liyakun/gitlabhq,salipro4ever/gitlabhq,Telekom-PD/gitlabhq,mrb/gitlabhq,phinfonet/mobbr-gitlabhq,OtkurBiz/gitlabhq,fendoudeqingchunhh/gitlabhq,joalmeid/gitlabhq,Exeia/gitlabhq,stanhu/gitlabhq,chenrui2014/gitlabhq,Razer6/gitlabhq,dukex/gitlabhq,dwrensha/gitlabhq,iiet/iiet-git,mr-dxdy/gitlabhq,sideci-sample/sideci-sample-gitlabhq,ksoichiro/gitlabhq,rhels/gitlabhq,koreamic/gitlabhq,sue445/gitlabhq,rfeese/gitlab-ce,michaKFromParis/gitlabhq,LytayTOUCH/gitlabhq,jirutka/gitlabhq,Kambda/Mobbr,mathstuf/gitlabhq,Devin001/gitlabhq,jairzh/gitlabhq-sfdc,vjustov/gitlabhq,OlegGirko/gitlab-ce,bladealslayer/gitlabhq,NARKOZ/gitlabhq,gopeter/gitlabhq,screenpages/gitlabhq,luzhongyang/gitlabhq,cinderblock/gitlabhq,zBMNForks/gitlabhq,SkyWei/gitlabhq,julianengel/gitlabhq,tim-hoff/gitlabhq,jvanbaarsen/gitlabhq,yonglehou/gitlabhq,Exeia/gitlabhq,TheWatcher/gitlabhq,hacsoc/gitlabhq,mrb/gitlabhq,sakishum/gitlabhq,zBMNForks/gitlabhq,williamherry/gitlabhq,theonlydoo/gitlabhq,mr-dxdy/gitlabhq,nmav/gitlabhq,8thcolor/testing-public-gitlabhq,hzy001/gitlabhq,fantasywind/gitlabhq,WSDC-NITWarangal/gitlabhq,per-garden/gitlabhq,ksoichiro/gitlabhq,sekcheong/gitlabhq,tk23/gitlabhq,revaret/gitlabhq,flashbuckets/gitlabhq,ikappas/gitlabhq,NARKOZ/gitlabhq,tim-hoff/gitlabhq,NuLL3rr0r/gitlabhq,H3Chief/gitlabhq,koreamic/gitlabhq,fscherwi/gitlabhq,nguyen-tien-mulodo/gitlabhq,WSDC-NITWarangal/gitlabhq,chadyred/gitlabhq,zrbsprite/gitlabhq,rebecamendez/gitlabhq,szechyjs/gitlabhq,ayufan/gitlabhq,123Haynes/gitlabhq,flashbuckets/gitlabhq,Datacom/gitlabhq,sonalkr132/gitlabhq,pkgr/gitlabhq,Razer6/gitlabhq,chadyred/gitlabhq,OtkurBiz/gitlabhq,t-zuehlsdorff/gitlabhq,kotaro-dev/gitlab-6-9,cncodog/gitlab,theonlydoo/gitlabhq,duduribeiro/gitlabhq,fscherwi/gitlabhq,duduribeiro/gitlabhq,TheWatcher/gitlabhq,sakishum/gitlabhq,phinfonet/mobbr-gitlabhq,fantasywind/gitlabhq,NKMR6194/gitlabhq,manfer/gitlabhq,WSDC-NITWarangal/gitlabhq,hzy001/gitlabhq,youprofit/gitlabhq,kemenaran/gitlabhq,8thcolor/testing-public-gitlabhq,pkgr/gitlabhq,delkyd/gitlabhq,Burick/gitlabhq,johnmyqin/gitlabhq,dwrensha/gitlabhq,bigsurge/gitlabhq,revaret/gitlabhq,larryli/gitlabhq,childbamboo/gitlabhq,whluwit/gitlabhq,NKMR6194/gitlabhq,pulkit21/gitlabhq,jairzh/gitlabhq-sfdc,ikappas/gitlabhq,nguyen-tien-mulodo/gitlabhq,initiummedia/gitlabhq,copystudy/gitlabhq,jirutka/gitlabhq,julianengel/gitlabhq,tempbottle/gitlabhq,NARKOZ/gitlabhq,Kambda/Mobbr,akumetsuv/gitlab,SVArago/gitlabhq,fantasywind/gitlabhq,jvanbaarsen/gitlabhq,sekcheong/gitlabhq,Devin001/gitlabhq,jaepyoung/gitlabhq,dplarson/gitlabhq,cui-liqiang/gitlab-ce,sideci-sample/sideci-sample-gitlabhq,ayufan/gitlabhq,t-zuehlsdorff/gitlabhq,per-garden/gitlabhq,wangcan2014/gitlabhq,OtkurBiz/gitlabhq,pjknkda/gitlabhq,darkrasid/gitlabhq,cncodog/gitlab,stoplightio/gitlabhq,martijnvermaat/gitlabhq,icedwater/gitlabhq,theodi/gitlabhq,it33/gitlabhq,gopeter/gitlabhq,daiyu/gitlab-zh,gopeter/gitlabhq,hzy001/gitlabhq,yatish27/gitlabhq,bozaro/gitlabhq,initiummedia/gitlabhq,ordiychen/gitlabhq,adaiguoguo/gitlab_globalserarch,louahola/gitlabhq,8thcolor/testing-public-gitlabhq,rebecamendez/gitlabhq,NuLL3rr0r/gitlabhq,since2014/gitlabhq,hq804116393/gitlabhq,yulchitaj/TEST3,xuvw/gitlabhq,jrjang/gitlabhq,duduribeiro/gitlabhq,michaKFromParis/gitlabhqold,Kambda/Mobbr,dvrylc/gitlabhq,dreampet/gitlab,fendoudeqingchunhh/gitlabhq,sakishum/gitlabhq,sonalkr132/gitlabhq,bigsurge/gitlabhq,mavimo/gitlabhq,k4zzk/gitlabhq,ferdinandrosario/gitlabhq,michaKFromParis/gitlabhq,initiummedia/gitlabhq,kotaro-dev/gitlab-6-9,manfer/gitlabhq,zBMNForks/gitlabhq,tk23/gitlabhq,ibiart/gitlabhq,daiyu/gitlab-zh,michaKFromParis/sparkslab,jairzh/gitlabhq-sfdc,yfaizal/gitlabhq,pkallberg/tjenare,gopeter/gitlabhq,stoplightio/gitlabhq,folpindo/gitlabhq,liyakun/gitlabhq,pjknkda/gitlabhq,allistera/gitlabhq,it33/gitlabhq,DanielZhangQingLong/gitlabhq,cncodog/gitlab,mavimo/gitlabhq,ibiart/gitlabhq,duduribeiro/gitlabhq,dreampet/gitlab,szechyjs/gitlabhq,yonglehou/gitlabhq,yama07/gitlabhq,pjknkda/gitlabhq,Keystion/gitlabhq,flashbuckets/gitlabhq,dreampet/gitlab,pulkit21/gitlabhq,ttasanen/gitlabhq,fearenales/gitlabhq,windymid/test2,salipro4ever/gitlabhq,NARKOZ/gitlabhq,ordiychen/gitlabhq,NKMR6194/gitlabhq,mmkassem/gitlabhq,zrbsprite/gitlabhq,darkrasid/gitlabhq,johnmyqin/gitlabhq,williamherry/gitlabhq,manfer/gitlabhq,NuLL3rr0r/gitlabhq,mente/gitlabhq,fearenales/gitlabhq,michaKFromParis/gitlabhq,sekcheong/gitlabhq,Tyrael/gitlabhq,lvfeng1130/gitlabhq,LytayTOUCH/gitlabhq,yonglehou/gitlabhq,TheWatcher/gitlabhq,mrb/gitlabhq,bbodenmiller/gitlabhq,adaiguoguo/gitlab_globalserarch,Devin001/gitlabhq,shinexiao/gitlabhq,OtkurBiz/gitlabhq,dwrensha/gitlabhq,stanhu/gitlabhq,Razer6/gitlabhq,screenpages/gitlabhq,kemenaran/gitlabhq,Datacom/gitlabhq,SkyWei/gitlabhq,Tyrael/gitlabhq,t-zuehlsdorff/gitlabhq,icedwater/gitlabhq,williamherry/gitlabhq,axilleas/gitlabhq,chenrui2014/gitlabhq,dvrylc/gitlabhq,hq804116393/gitlabhq,Exeia/gitlabhq,kemenaran/gitlabhq,mathstuf/gitlabhq,yuyue2013/ss,delkyd/gitlabhq,ttasanen/gitlabhq,openwide-java/gitlabhq,htve/GitlabForChinese,LytayTOUCH/gitlabhq,H3Chief/gitlabhq,mmkassem/gitlabhq,revaret/gitlabhq,allysonbarros/gitlabhq,nguyen-tien-mulodo/gitlabhq,larryli/gitlabhq,julianengel/gitlabhq,LUMC/gitlabhq,per-garden/gitlabhq,tempbottle/gitlabhq,mavimo/gitlabhq,tempbottle/gitlabhq,theodi/gitlabhq,childbamboo/gitlabhq,SVArago/gitlabhq,martinma4/gitlabhq,rumpelsepp/gitlabhq,aaronsnyder/gitlabhq,Telekom-PD/gitlabhq,mente/gitlabhq,ordiychen/gitlabhq,yama07/gitlabhq,hacsoc/gitlabhq,LUMC/gitlabhq,mr-dxdy/gitlabhq,SkyWei/gitlabhq,theonlydoo/gitlabhq,stoplightio/gitlabhq,Kambda/mobbr-gitlabhq,jrjang/gitlab-ce,LUMC/gitlabhq,lvfeng1130/gitlabhq,bbodenmiller/gitlabhq,since2014/gitlabhq,darkrasid/gitlabhq,stoplightio/gitlabhq,wangcan2014/gitlabhq,daiyu/gitlab-zh,bozaro/gitlabhq,DanielZhangQingLong/gitlabhq,screenpages/gitlabhq,SVArago/gitlabhq,rhels/gitlabhq,eliasp/gitlabhq,joalmeid/gitlabhq,julianengel/gitlabhq,jaepyoung/gitlabhq,rhels/gitlabhq,michaKFromParis/sparkslab,Telekom-PD/gitlabhq,gorgee/gitlabhq,jrjang/gitlab-ce,joalmeid/gitlabhq,youprofit/gitlabhq,jvanbaarsen/gitlabhq,ksoichiro/gitlabhq,ibiart/gitlabhq,mente/gitlabhq,dukex/gitlabhq,mathstuf/gitlabhq,larryli/gitlabhq,kitech/gitlabhq,koreamic/gitlabhq,sideci-sample/sideci-sample-gitlabhq,xuvw/gitlabhq,tim-hoff/gitlabhq,kitech/gitlabhq,dvrylc/gitlabhq,nmav/gitlabhq,cinderblock/gitlabhq,allistera/gitlabhq,ngpestelos/gitlabhq,htve/GitlabForChinese,shinexiao/gitlabhq,lvfeng1130/gitlabhq,pulkit21/gitlabhq,Keystion/gitlabhq,ferdinandrosario/gitlabhq,chenrui2014/gitlabhq,wangcan2014/gitlabhq,allysonbarros/gitlabhq,liyakun/gitlabhq,Datacom/gitlabhq,salipro4ever/gitlabhq,bbodenmiller/gitlabhq,sue445/gitlabhq,Devin001/gitlabhq,per-garden/gitlabhq,johnmyqin/gitlabhq,dukex/gitlabhq,theonlydoo/gitlabhq,aaronsnyder/gitlabhq,t-zuehlsdorff/gitlabhq,pkallberg/tjenare,darkrasid/gitlabhq,lvfeng1130/gitlabhq,Keystion/gitlabhq,sonalkr132/gitlabhq,axilleas/gitlabhq,rumpelsepp/gitlabhq,yama07/gitlabhq,larryli/gitlabhq,htve/GitlabForChinese,phinfonet/mobbr-gitlabhq,folpindo/gitlabhq,aaronsnyder/gitlabhq,johnmyqin/gitlabhq,akumetsuv/gitlab,OlegGirko/gitlab-ce,manfer/gitlabhq,whluwit/gitlabhq,louahola/gitlabhq,Soullivaneuh/gitlabhq,DanielZhangQingLong/gitlabhq,youprofit/gitlabhq,dplarson/gitlabhq,cui-liqiang/gitlab-ce,screenpages/gitlabhq,atomaka/gitlabhq,sakishum/gitlabhq,folpindo/gitlabhq,gorgee/gitlabhq,michaKFromParis/sparkslab,tim-hoff/gitlabhq,ordiychen/gitlabhq,tempbottle/gitlabhq,hzy001/gitlabhq,fgbreel/gitlabhq,H3Chief/gitlabhq,fpgentil/gitlabhq,rhels/gitlabhq,stanhu/gitlabhq,atomaka/gitlabhq,luzhongyang/gitlabhq,Keystion/gitlabhq,fearenales/gitlabhq,MauriceMohlek/gitlabhq,ttasanen/gitlabhq,it33/gitlabhq,ZeoAlliance/gitlabhq,revaret/gitlabhq,windymid/test2,MauriceMohlek/gitlabhq,ikappas/gitlabhq,k4zzk/gitlabhq,icedwater/gitlabhq,yuyue2013/ss,htve/GitlabForChinese,ferdinandrosario/gitlabhq,allysonbarros/gitlabhq,Datacom/gitlabhq,yatish27/gitlabhq,martijnvermaat/gitlabhq,fpgentil/gitlabhq,michaKFromParis/gitlabhq,cui-liqiang/gitlab-ce,copystudy/gitlabhq,ayufan/gitlabhq,nmav/gitlabhq,axilleas/gitlabhq,sonalkr132/gitlabhq,bigsurge/gitlabhq,rumpelsepp/gitlabhq,allysonbarros/gitlabhq,rebecamendez/gitlabhq,Razer6/gitlabhq,salipro4ever/gitlabhq,ZeoAlliance/gitlabhq,adaiguoguo/gitlab_globalserarch,aaronsnyder/gitlabhq,yuyue2013/ss,jairzh/gitlabhq-sfdc,Kambda/mobbr-gitlabhq,jvanbaarsen/gitlabhq,fpgentil/gitlabhq,yulchitaj/TEST3,fgbreel/gitlabhq,bigsurge/gitlabhq,jrjang/gitlabhq,childbamboo/gitlabhq,allistera/gitlabhq,mmkassem/gitlabhq,childbamboo/gitlabhq,nmav/gitlabhq,iiet/iiet-git,stellamiranda/mobbr-gitlabhq,sekcheong/gitlabhq,chadyred/gitlabhq,since2014/gitlabhq,yulchitaj/TEST3,openwide-java/gitlabhq,copystudy/gitlabhq,NKMR6194/gitlabhq,hq804116393/gitlabhq,mr-dxdy/gitlabhq,wangcan2014/gitlabhq,liyakun/gitlabhq,dreampet/gitlab,jrjang/gitlab-ce,szechyjs/gitlabhq,martijnvermaat/gitlabhq,Tyrael/gitlabhq,fearenales/gitlabhq,fscherwi/gitlabhq,stellamiranda/mobbr-gitlabhq,delkyd/gitlabhq,flashbuckets/gitlabhq,yfaizal/gitlabhq,Burick/gitlabhq,DanielZhangQingLong/gitlabhq,michaKFromParis/gitlabhqold,louahola/gitlabhq,stellamiranda/mobbr-gitlabhq,OlegGirko/gitlab-ce,delkyd/gitlabhq,Soullivaneuh/gitlabhq,fendoudeqingchunhh/gitlabhq,jirutka/gitlabhq,H3Chief/gitlabhq,martijnvermaat/gitlabhq,yatish27/gitlabhq,mente/gitlabhq,OlegGirko/gitlab-ce,openwide-java/gitlabhq,mrb/gitlabhq,cinderblock/gitlabhq,folpindo/gitlabhq,rumpelsepp/gitlabhq,louahola/gitlabhq,dvrylc/gitlabhq,jaepyoung/gitlabhq,SVArago/gitlabhq,kotaro-dev/gitlab-6-9,LUMC/gitlabhq,whluwit/gitlabhq,fendoudeqingchunhh/gitlabhq,martinma4/gitlabhq,kemenaran/gitlabhq,pjknkda/gitlabhq,atomaka/gitlabhq,jirutka/gitlabhq,WSDC-NITWarangal/gitlabhq,ngpestelos/gitlabhq,dwrensha/gitlabhq,axilleas/gitlabhq,it33/gitlabhq,initiummedia/gitlabhq