fix: resolve OMOPHUB_API_KEY and omophub.api_key at client instantiation
Setting os.environ["OMOPHUB_API_KEY"] or omophub.api_key after import omophub still raises AuthenticationError when calling OMOPHub() or AsyncOMOPHub(), because _client.py captures default_api_key once at import time.
Could we resolve the API key at client instantiation in _resolve_api_key() with precedence explicit api_key, then runtime omophub.api_key, then os.environ.get("OMOPHUB_API_KEY")? Happy to read omophub._config directly instead of checking sys.modules["omophub"] if you prefer.
Testing: pytest tests/unit/test_client.py -q -> 26 passed (new tests fail on main), ruff check and mypy src/ clean.
Summary by cubic
Fixes API key resolution so OMOPHUB_API_KEY and omophub.api_key are read at client instantiation instead of at import time. Setting either after import omophub now works when calling OMOPHub() or AsyncOMOPHub(); the precedence is explicit api_key argument, then omophub.api_key, then the OMOPHUB_API_KEY environment variable.