This is mostly a pure extraction, but we needed to duplicate a bit of setup from people.js, and I added an assertion for warning about "No user_id provided".