* [Fixes #26690] Supports Python 3 handling of base64 encoding * Set text auth to separate variable for reuse