Automatically login to Basic Authentication using data based on URL regexp.