title: Authorization failure TIdHTTP over HTTPS when password is russian
body: <p>I try to test my webservice with the TIdHTTP (Indy 10.6.0 and Delphi XE5) by this code: </p>
  
  <pre><code>GIdDefaultTextEncoding := encUTF8;
  HTTP.IOHandler.DefStringEncoding := IndyTextEncoding_UTF8;
  Http.Request.UserName := AUser;
  Http.Request.Password := APass;
  Http.Request.Accept := 'text/javascript';
  Http.Request.ContentType := 'application/json';
  Http.Request.ContentEncoding := 'utf-8';
  Http.Request.URL := 'https://sameService';
  Http.MaxAuthRetries := 1;
  Http.Request.BasicAuthentication := True;
  TIdSSLIOHandlerSocketOpenSSL(HTTP.IOHandler).SSLOptions.Method := sslvSSLv3;
  HTTP.HandleRedirects := True;
  </code></pre>
  
  <p>"AUser" and "APass" in UTF-8. When "APass" have same Russian chars I can't login.
  By "HTTP Analyze" I see:</p>
  
  <pre><code>...
  Authorization: Basic cDh1c2VyOj8/Pz8/PzEyMw==
  </code></pre>
  
  <p>Decode from Base 64 (base64decode.org) we can see:</p>
  
  <pre><code>p8user:??????123
  </code></pre>
  
  <p>Why DefStringEncoding not work ?</p>