Multitenant support and corresponding NH tests.