Httpoison get request with basic authorization -- "HTTP request failed: bad_request"

I opened an issue relating to this on hackney’s github page:

https://github.com/benoitc/hackney/issues/723