Swtichting from web api to REST API and having trouble with authentication

Quick reply, will be out of the office and also this forum till January.

Maybe following howto might help. It uses HTTPie with bearer.