WIP `spawn_as_logged_user()` in `lib/system/index_spec.js`