def METHOD_NAME(client, user, team):
    client.login(email=user.email, password='dummy')
    session = client.session
    session['pretix_auth_long_session'] = False
    session['pretix_auth_login_time'] = int(time.time()) - 3600 * 6
    session['pretix_auth_last_used'] = int(time.time()) - 3600 * 3 - 60
    session.save()
    resp = client.get('/api/v1/organizers/')
    assert resp.status_code == 403