[ticket/11613] Allow cookies to work on netbios domains

PHPBB3-11613
[ticket/13389] Replace pattern with path

PHPBB3-13389
Merge pull request #3075 from Senky/ticket/11613

[ticket/11613] Cookies do not work for netbios domain
Merge branch 'develop-ascraeus' into develop
Merge pull request #3185 from Nicofuma/ticket/13389

[ticket/13389] Replace pattern with path
Merge branch 'develop-ascraeus' into develop