Make code more compact
Remove _make_logged_in because it's no longer needed
Rename APITest to ApiTestCase
Move call to _setup_csrf to setUp()