[Misc] Fix integration tests that flicker on xwiki-platform-wiki.