Moving mock_auth_cookie() from AuthHiveTestCase to ApiTestCase