- Add 'headers': [] to all Request(scope={'type': 'http'}) instances in test_jwt.py - Fixes KeyError: 'headers' when accessing request.headers in user_api_key_auth - All 7 previously failing tests now pass: - test_allow_access_by_email (2 variants) - test_allowed_routes_admin (4 variants) - test_team_token_output (2 variants) The Starlette Request object requires 'headers' key in scope dictionary when accessing request.headers property.