Issue #2918931 by MegaChriz, Cyrilovich: fixed basic authorization failed with 401 in http_request.inc.