api/v0/v0_test: add withDBContextUser test context helper function
api/v0/notifications_test: use withDBContextUser helper