Add tests to check subdomains with auth decorators.
Add tests to check subdomains with auth decorators.

Fixes: #1870

showell/zulip,zulip/zulip,calvinleenyc/zulip,verma-varsha/zulip,souravbadami/zulip,zacps/zulip,aakash-cr7/zulip,arpith/zulip,sharmaeklavya2/zulip,cosmicAsymmetry/zulip,AZtheAsian/zulip,isht3/zulip,brockwhittaker/zulip,punchagan/zulip,amanharitsh123/zulip,KingxBanana/zulip,jackrzhang/zulip,SmartPeople/zulip,Galexrt/zulip,amyliu345/zulip,SmartPeople/zulip,PhilSk/zulip,synicalsyntax/zulip,JPJPJPOPOP/zulip,reyha/zulip,ryanbackman/zulip,amanharitsh123/zulip,cosmicAsymmetry/zulip,eeshangarg/zulip,punchagan/zulip,Jianchun1/zulip,Juanvulcano/zulip,timabbott/zulip,susansls/zulip,dhcrzf/zulip,vaidap/zulip,jphilipsen05/zulip,PhilSk/zulip,cosmicAsymmetry/zulip,showell/zulip,reyha/zulip,Galexrt/zulip,peguin40/zulip,dhcrzf/zulip,souravbadami/zulip,niftynei/zulip,SmartPeople/zulip,peguin40/zulip,brockwhittaker/zulip,isht3/zulip,j831/zulip,rht/zulip,Diptanshu8/zulip,punchagan/zulip,jrowan/zulip,samatdav/zulip,calvinleenyc/zulip,andersk/zulip,tommyip/zulip,SmartPeople/zulip,peguin40/zulip,kou/zulip,niftynei/zulip,dawran6/zulip,christi3k/zulip,andersk/zulip,vabs22/zulip,christi3k/zulip,verma-varsha/zulip,shubhamdhama/zulip,dattatreya303/zulip,rht/zulip,punchagan/zulip,AZtheAsian/zulip,rishig/zulip,mahim97/zulip,souravbadami/zulip,jackrzhang/zulip,vaidap/zulip,kou/zulip,zulip/zulip,joyhchen/zulip,aakash-cr7/zulip,j831/zulip,christi3k/zulip,rht/zulip,jainayush975/zulip,jrowan/zulip,sharmaeklavya2/zulip,joyhchen/zulip,andersk/zulip,JPJPJPOPOP/zulip,j831/zulip,peguin40/zulip,sonali0901/zulip,vikas-parashar/zulip,vaidap/zulip,joyhchen/zulip,TigorC/zulip,mahim97/zulip,eeshangarg/zulip,Juanvulcano/zulip,jphilipsen05/zulip,TigorC/zulip,kou/zulip,souravbadami/zulip,zacps/zulip,rishig/zulip,niftynei/zulip,cosmicAsymmetry/zulip,brockwhittaker/zulip,amanharitsh123/zulip,arpith/zulip,vaidap/zulip,amanharitsh123/zulip,amyliu345/zulip,jphilipsen05/zulip,KingxBanana/zulip,Galexrt/zulip,jackrzhang/zulip,dattatreya303/zulip,verma-varsha/zulip,susansls/zulip,KingxBanana/zulip,shubhamdhama/zulip,JPJPJPOPOP/zulip,kou/zulip,brainwane/zulip,sharmaeklavya2/zulip,peguin40/zulip,cosmicAsymmetry/zulip,brockwhittaker/zulip,JPJPJPOPOP/zulip,amyliu345/zulip,susansls/zulip,shubhamdhama/zulip,timabbott/zulip,susansls/zulip,aakash-cr7/zulip,isht3/zulip,showell/zulip,SmartPeople/zulip,sonali0901/zulip,PhilSk/zulip,ryanbackman/zulip,shubhamdhama/zulip,hackerkid/zulip,paxapy/zulip,Juanvulcano/zulip,jainayush975/zulip,sonali0901/zulip,paxapy/zulip,mahim97/zulip,brainwane/zulip,tommyip/zulip,jphilipsen05/zulip,isht3/zulip,zacps/zulip,tommyip/zulip,SmartPeople/zulip,hackerkid/zulip,jphilipsen05/zulip,eeshangarg/zulip,shubhamdhama/zulip,synicalsyntax/zulip,kou/zulip,dawran6/zulip,showell/zulip,andersk/zulip,ryanbackman/zulip,Diptanshu8/zulip,dhcrzf/zulip,hackerkid/zulip,calvinleenyc/zulip,showell/zulip,Diptanshu8/zulip,dawran6/zulip,dattatreya303/zulip,souravbadami/zulip,timabbott/zulip,calvinleenyc/zulip,sonali0901/zulip,Juanvulcano/zulip,isht3/zulip,mahim97/zulip,eeshangarg/zulip,eeshangarg/zulip,vabs22/zulip,paxapy/zulip,reyha/zulip,dattatreya303/zulip,christi3k/zulip,arpith/zulip,hackerkid/zulip,Diptanshu8/zulip,jainayush975/zulip,zulip/zulip,rht/zulip,susansls/zulip,Galexrt/zulip,vikas-parashar/zulip,jainayush975/zulip,eeshangarg/zulip,eeshangarg/zulip,Galexrt/zulip,verma-varsha/zulip,verma-varsha/zulip,Galexrt/zulip,vabs22/zulip,sonali0901/zulip,reyha/zulip,reyha/zulip,samatdav/zulip,vikas-parashar/zulip,showell/zulip,jrowan/zulip,TigorC/zulip,samatdav/zulip,Diptanshu8/zulip,synicalsyntax/zulip,shubhamdhama/zulip,arpith/zulip,amyliu345/zulip,ryanbackman/zulip,grave-w-grave/zulip,jainayush975/zulip,niftynei/zulip,tommyip/zulip,dattatreya303/zulip,TigorC/zulip,isht3/zulip,dhcrzf/zulip,cosmicAsymmetry/zulip,zulip/zulip,synicalsyntax/zulip,andersk/zulip,dawran6/zulip,joyhchen/zulip,zacps/zulip,brainwane/zulip,aakash-cr7/zulip,amyliu345/zulip,tommyip/zulip,andersk/zulip,JPJPJPOPOP/zulip,joyhchen/zulip,kou/zulip,grave-w-grave/zulip,rht/zulip,synicalsyntax/zulip,arpith/zulip,zulip/zulip,timabbott/zulip,arpith/zulip,zulip/zulip,KingxBanana/zulip,j831/zulip,jainayush975/zulip,AZtheAsian/zulip,mahim97/zulip,brainwane/zulip,reyha/zulip,amanharitsh123/zulip,Juanvulcano/zulip,aakash-cr7/zulip,blaze225/zulip,j831/zulip,paxapy/zulip,blaze225/zulip,synicalsyntax/zulip,jrowan/zulip,samatdav/zulip,Galexrt/zulip,brainwane/zulip,shubhamdhama/zulip,timabbott/zulip,jackrzhang/zulip,dhcrzf/zulip,tommyip/zulip,niftynei/zulip,vaidap/zulip,PhilSk/zulip,vikas-parashar/zulip,calvinleenyc/zulip,AZtheAsian/zulip,PhilSk/zulip,grave-w-grave/zulip,grave-w-grave/zulip,hackerkid/zulip,paxapy/zulip,verma-varsha/zulip,samatdav/zulip,kou/zulip,punchagan/zulip,hackerkid/zulip,blaze225/zulip,zacps/zulip,rishig/zulip,grave-w-grave/zulip,brainwane/zulip,blaze225/zulip,Jianchun1/zulip,vikas-parashar/zulip,PhilSk/zulip,brockwhittaker/zulip,grave-w-grave/zulip,hackerkid/zulip,jackrzhang/zulip,vabs22/zulip,dhcrzf/zulip,vabs22/zulip,AZtheAsian/zulip,blaze225/zulip,sonali0901/zulip,Jianchun1/zulip,rishig/zulip,jrowan/zulip,timabbott/zulip,jackrzhang/zulip,amyliu345/zulip,sharmaeklavya2/zulip,brockwhittaker/zulip,dhcrzf/zulip,rht/zulip,showell/zulip,souravbadami/zulip,KingxBanana/zulip,rishig/zulip,jackrzhang/zulip,brainwane/zulip,sharmaeklavya2/zulip,niftynei/zulip,timabbott/zulip,zacps/zulip,KingxBanana/zulip,Jianchun1/zulip,jrowan/zulip,punchagan/zulip,mahim97/zulip,JPJPJPOPOP/zulip,christi3k/zulip,blaze225/zulip,punchagan/zulip,Jianchun1/zulip,susansls/zulip,vabs22/zulip,vaidap/zulip,dawran6/zulip,ryanbackman/zulip,AZtheAsian/zulip,Diptanshu8/zulip,Jianchun1/zulip,jphilipsen05/zulip,amanharitsh123/zulip,samatdav/zulip,dawran6/zulip,dattatreya303/zulip,zulip/zulip,rishig/zulip,ryanbackman/zulip,Juanvulcano/zulip,peguin40/zulip,calvinleenyc/zulip,rishig/zulip,vikas-parashar/zulip,j831/zulip,TigorC/zulip,TigorC/zulip,christi3k/zulip,paxapy/zulip,synicalsyntax/zulip,aakash-cr7/zulip,andersk/zulip,joyhchen/zulip,sharmaeklavya2/zulip,rht/zulip,tommyip/zulip