tests: Reset mwuser/pagecontent tables if necessary for postgres