ErrorPageTest: Reset env state

Otherwise SapphireTest will complain, see 0da70dafa457564a6adb02140ffeb5dd01f3a982