[ticket/13048] AJAX requests are being stored to session_page

[PHPBB3-13048](https://tracker.phpbb.com/browse/PHPBB3-13048)