Long Basic auth header gets corrupted with a line break

Use strict_encode64 to avoid line breaks in the header