The global variable vault gets reused across test runs, so it needs to
be reset on fixture/test teardown, or any potential new config may not
be taken into account, which can in turn generate confusing postgresql
connection closures.
Depends on D7291