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

Fixes #36