api/v0/sessions_test: use withDBContextUser helper