### 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_
"""
    Handler which enforces Cross-Origin-Resource-Sharing (CORS) rules.
    This handler needs to be at the top of the handler chain to ensure that these security rules are enforced before any
    commands are executed.
    """
    def __call__(self, chain: HandlerChain, context: RequestContext, response: Response) -> None:
        if not should_enforce_self_managed_service(context):
            return
        if not config.DISABLE_CORS_CHECKS and not self.is_cors_origin_allowed(
            context.request.headers
        ):
            LOG.info(
                "Blocked CORS request from forbidden origin %s",
                context.request.headers.get("origin") or context.request.headers.get("referer"),
            )
            response.status_code = 403
            chain.terminate()
        elif context.request.method == "OPTIONS" and not config.DISABLE_PREFLIGHT_PROCESSING:
            
            response.status_code = 204
            chain.stop()
    @staticmethod
    def is_cors_origin_allowed(headers: Headers) -> bool: