Generic session support

Conflicts:
	src/sentry/testutils/cases.py