[TORQUE-1031] Web contexts should be normalized

Was fixed in polyglot, but adding integration tests here to make sure it works as expexted.