[ticket/11613] Allow cookies for domains without dots

Unfortunately, I missed that the fix version for the related ticket is also 3.0.13-RC1.

This will probably cause a merge conflict upon merging into dev-asc and dev that needs to be resolved.

Ticket: https://tracker.phpbb.com/browse/PHPBB3-11613