Faraday middleware for Newscred Api