Webhook registration failing with 401 though the token is valid [using atlassian-jwt-py library]

Found answer in How do I sign my JWT requests for the REST interface? - #11 by jhazelwood