Adding workaround for backward compatibility with legacy LDAP users
Adding workaround for backward compatibility with legacy LDAP users

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