[ticket/12013] Fix functional tests and sniffer issue.

PHPBB3-12013