Extract and use basic auth credentials from URL when present, allowing Header plugin to work with sites protected by .htaccess.
Closes #3552049