Fixes #789 Cookie domain suggested wrong with ".dev" TLD

Fixes #789