mgr/dashboard: Unit test does not do the mentioned thing
The unit test AccessControlTest::test_load_v2() is testing a v1 database instead of a v2.
The current implementation of test_load_v2() loads a v1 user database which already contains the fields 'enabled' and 'pwdExpirationDate' that are added with v2. It's not possible that such a data structure exists. The loading and migration of a v1 database is tested in AccessControlTest::test_load_v1().