[ticket/13158] Allow adding extra auth checks when the user is posting

PHPBB3-13158