ldap: Shrink unnecessary scope of missing user block.
ldap: Shrink unnecessary scope of missing user block.

This is a pure refactor, and will help simplify the change in the next
commit.

shubhamdhama/zulip,kou/zulip,tommyip/zulip,timabbott/zulip,timabbott/zulip,mahim97/zulip,mahim97/zulip,shubhamdhama/zulip,synicalsyntax/zulip,tommyip/zulip,tommyip/zulip,punchagan/zulip,timabbott/zulip,hackerkid/zulip,rishig/zulip,kou/zulip,andersk/zulip,mahim97/zulip,andersk/zulip,timabbott/zulip,synicalsyntax/zulip,dhcrzf/zulip,shubhamdhama/zulip,zulip/zulip,zulip/zulip,rishig/zulip,brainwane/zulip,eeshangarg/zulip,punchagan/zulip,brainwane/zulip,rishig/zulip,hackerkid/zulip,synicalsyntax/zulip,brainwane/zulip,dhcrzf/zulip,kou/zulip,tommyip/zulip,punchagan/zulip,tommyip/zulip,brainwane/zulip,shubhamdhama/zulip,hackerkid/zulip,dhcrzf/zulip,hackerkid/zulip,synicalsyntax/zulip,tommyip/zulip,shubhamdhama/zulip,punchagan/zulip,mahim97/zulip,zulip/zulip,zulip/zulip,zulip/zulip,jackrzhang/zulip,synicalsyntax/zulip,showell/zulip,dhcrzf/zulip,rishig/zulip,timabbott/zulip,rht/zulip,showell/zulip,kou/zulip,eeshangarg/zulip,zulip/zulip,brainwane/zulip,brainwane/zulip,andersk/zulip,rht/zulip,dhcrzf/zulip,rht/zulip,showell/zulip,brainwane/zulip,punchagan/zulip,rht/zulip,andersk/zulip,showell/zulip,timabbott/zulip,zulip/zulip,rishig/zulip,shubhamdhama/zulip,hackerkid/zulip,jackrzhang/zulip,showell/zulip,rht/zulip,dhcrzf/zulip,eeshangarg/zulip,eeshangarg/zulip,showell/zulip,eeshangarg/zulip,rht/zulip,rht/zulip,dhcrzf/zulip,timabbott/zulip,jackrzhang/zulip,jackrzhang/zulip,punchagan/zulip,eeshangarg/zulip,andersk/zulip,rishig/zulip,synicalsyntax/zulip,mahim97/zulip,andersk/zulip,rishig/zulip,mahim97/zulip,punchagan/zulip,eeshangarg/zulip,synicalsyntax/zulip,tommyip/zulip,kou/zulip,shubhamdhama/zulip,hackerkid/zulip,jackrzhang/zulip,kou/zulip,andersk/zulip,jackrzhang/zulip,jackrzhang/zulip,kou/zulip,hackerkid/zulip,showell/zulip