HTTP Requests Using Basic Auth with API key all fail

Hello,

I am trying to proxy calls to a datasource through the HTTP API. To get to this point, I am currently just trying to get a response from any API endpoint using basic authorization with an API key. However, every call to the API is failing with “Invalid API key”

Here is curl's output for just trying to get the organization using an API key with Admin role:

* STATE: INIT => CONNECT handle 0x680180; line 1404 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* STATE: CONNECT => WAITRESOLVE handle 0x680180; line 1440 (connection #0)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 35.199.181.56...
* TCP_NODELAY set
* STATE: WAITRESOLVE => WAITCONNECT handle 0x680180; line 1521 (connection #0)
* Connected to teecom.grafana.net (35.199.181.56) port 443 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x680180; line 1573 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
  CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
  CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x680180; line 1587 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [5838 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Multi-Domain; CN=grafana.com
*  start date: Feb  6 00:00:00 2019 GMT
*  expire date: May  6 23:59:59 2020 GMT
*  subjectAltName: host "teecom.grafana.net" matched cert's "*.grafana.net"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* STATE: PROTOCONNECT => DO handle 0x680180; line 1608 (connection #0)
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x680180)
} [5 bytes data]
> GET /api/org HTTP/2
> Host: teecom.grafana.net
> User-Agent: curl/7.59.0
> Accept: */*
> Authorization: Bearer <key goes here>
>
* STATE: DO => DO_DONE handle 0x680180; line 1670 (connection #0)
* multi changed, check CONNECT_PEND queue!
* STATE: DO_DONE => WAITPERFORM handle 0x680180; line 1795 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x680180; line 1811 (connection #0)
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
} [5 bytes data]
* multi changed, check CONNECT_PEND queue!
{ [5 bytes data]
* HTTP/2 found, allow multiplexing
< HTTP/2 401
< server: nginx/1.13.7
< date: Wed, 20 Mar 2019 18:21:33 GMT
< content-type: application/json; charset=UTF-8
< content-length: 29
< strict-transport-security: max-age=15724800;
<
{ [29 bytes data]
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x680180; line 1980 (connection #0)
* multi_done
100    29  100    29    0     0     80      0 --:--:-- --:--:-- --:--:--    80{"message":"Invalid API key"}
* Connection #0 to host teecom.grafana.net left intact

I am pretty lost at this point as the documentation suggests that this should be possible but nothing is working.

Thanks