log_into_subdomain: Fix realm creation on servers using an IP address.
log_into_subdomain: Fix realm creation on servers using an IP address.

While it's totally fine to put a leading '.' before the cookie domain
for normal hostnames and browsers will just strip them, if you're
using an IP address, it doesn't work, because .127.0.0.1 (for example)
is just invalid, and the cookie won't be set.

This fixes an issue where after installing with an IP address, realm
creation would end with being stuck at a blank page for
/accounts/login/subdomain/.

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