@claude add a test to ensure that the SDK sends the authorization header correctly.
- if the token is provided to the SDK manually.
- if the token is taken from local storage or the url
- it should be sent in functions invocations and integrations, not just in Auth calls.
implement the changes in the code as need to make the tests work