Custom API Authentication should allow the use of btoa()

Hi, I am new to Retool having only discovered it today. I started to write a Resource and came across this exact problem with my API that uses a Basic auth request to get a token. I feel like this is a common case that ought to be supported better perhaps?

I'm not sure what else to do here as I am obviously still finding my way around how it all works.

Cheers
Julian.