Fix wgCanonicalServer for loginwiki

Change-Id: Ic1a40824029b951d2a5a0fc71535d62287cccf62