Authorization class for FreshMail REST API in Python