Fix passing the "api_key" query param when the key was set via headers.
Fix passing the "api_key" query param when the key was set via headers.

apinf/api-umbrella,NREL/api-umbrella,apinf/api-umbrella,apinf/api-umbrella,apinf/api-umbrella,NREL/api-umbrella,apinf/api-umbrella,NREL/api-umbrella,NREL/api-umbrella