Fix http auth regex to allow dash, dot and underscore, refs #36