Added capability for HTTP Authentication on media locations for downloads.php.