Standardize API client (base URL, auth headers, refresh flow, error handling).
Standardize API client (base URL, auth headers, refresh flow, error handling).