api/v0/sessions_test: fix test failures due to foreign key constraints