IT test fixes

This fixes issues with the wmts and remoteows integration tests.