decorator: Fix request.user handling of remote servers.
decorator: Fix request.user handling of remote servers.

The refactor in b46af40bd385f13e3731987832f5dd0eda649206 didn't
correctly translate the code for managing request.user and
request._email, resulting in requests for the push notification
bouncer being rejected with this exception:

AttributeError: 'AnonymousUser' object has no attribute 'rate_limits'

mahim97/zulip,tommyip/zulip,jackrzhang/zulip,mahim97/zulip,showell/zulip,shubhamdhama/zulip,jackrzhang/zulip,jackrzhang/zulip,andersk/zulip,synicalsyntax/zulip,synicalsyntax/zulip,rishig/zulip,amanharitsh123/zulip,dhcrzf/zulip,timabbott/zulip,mahim97/zulip,eeshangarg/zulip,shubhamdhama/zulip,shubhamdhama/zulip,brainwane/zulip,dhcrzf/zulip,mahim97/zulip,Galexrt/zulip,dhcrzf/zulip,punchagan/zulip,Galexrt/zulip,tommyip/zulip,dhcrzf/zulip,brainwane/zulip,tommyip/zulip,Galexrt/zulip,rht/zulip,Galexrt/zulip,amanharitsh123/zulip,andersk/zulip,punchagan/zulip,hackerkid/zulip,synicalsyntax/zulip,timabbott/zulip,punchagan/zulip,verma-varsha/zulip,rht/zulip,kou/zulip,jackrzhang/zulip,zulip/zulip,eeshangarg/zulip,rishig/zulip,andersk/zulip,punchagan/zulip,rishig/zulip,brockwhittaker/zulip,jackrzhang/zulip,rishig/zulip,verma-varsha/zulip,rishig/zulip,tommyip/zulip,zulip/zulip,brainwane/zulip,rht/zulip,dhcrzf/zulip,dhcrzf/zulip,zulip/zulip,hackerkid/zulip,tommyip/zulip,shubhamdhama/zulip,punchagan/zulip,showell/zulip,showell/zulip,zulip/zulip,andersk/zulip,mahim97/zulip,tommyip/zulip,brainwane/zulip,kou/zulip,verma-varsha/zulip,kou/zulip,hackerkid/zulip,rht/zulip,hackerkid/zulip,showell/zulip,mahim97/zulip,brockwhittaker/zulip,rht/zulip,showell/zulip,brainwane/zulip,punchagan/zulip,eeshangarg/zulip,shubhamdhama/zulip,eeshangarg/zulip,timabbott/zulip,verma-varsha/zulip,synicalsyntax/zulip,kou/zulip,kou/zulip,Galexrt/zulip,rht/zulip,brockwhittaker/zulip,showell/zulip,amanharitsh123/zulip,jackrzhang/zulip,kou/zulip,verma-varsha/zulip,rht/zulip,brainwane/zulip,dhcrzf/zulip,tommyip/zulip,brockwhittaker/zulip,Galexrt/zulip,hackerkid/zulip,showell/zulip,amanharitsh123/zulip,brainwane/zulip,brockwhittaker/zulip,punchagan/zulip,andersk/zulip,andersk/zulip,rishig/zulip,timabbott/zulip,eeshangarg/zulip,shubhamdhama/zulip,brockwhittaker/zulip,timabbott/zulip,jackrzhang/zulip,shubhamdhama/zulip,zulip/zulip,synicalsyntax/zulip,synicalsyntax/zulip,zulip/zulip,eeshangarg/zulip,timabbott/zulip,timabbott/zulip,eeshangarg/zulip,zulip/zulip,andersk/zulip,hackerkid/zulip,hackerkid/zulip,amanharitsh123/zulip,Galexrt/zulip,synicalsyntax/zulip,rishig/zulip,amanharitsh123/zulip,kou/zulip,verma-varsha/zulip