adjust regex to allow subdomains

Probably the smallest pull request ever...

Allowing a '.' in the regex means we can have domains such as http://foo.bar.dev

This is useful as it allows creating multiple services on the same domain (e.g. http://auth.bar.dev) to allow sharing cookies.