Bug: failed parsoid request on private wiki

Change-Id: I997a3f4abe9f058b43ccb63aef84320b5dd4990b
(cherry picked from commit 7d48e1f5059f6cd27bf8cd6363eccdd65bf17b4e)