### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Authorization headers being sent to API gateway are received on lambdas as "empty string"

### Expected Behavior

_No response_

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

Run a API Gateway with lambda integration

### Environment

```markdown
- OS:
- LocalStack:
```


### Anything else?

_No response_
"""
    Some services are handling their CORS checks on their own (depending on config vars).
    :param context: context of the request for which to check if the CORS checks should be executed in here or in
                    the targeting service
    :return: True if the CORS rules should be enforced in here.
    """
    if config.DISABLE_CUSTOM_CORS_S3 and config.DISABLE_CUSTOM_CORS_APIGATEWAY:
        return True
    
    if context.service:
        service_name = context.service.service_name
        if not config.DISABLE_CUSTOM_CORS_S3 and service_name == "s3":
            return False
        if not config.DISABLE_CUSTOM_CORS_APIGATEWAY and service_name == "apigateway":
            return False
    return True
class CorsEnforcer(Handler):