[ticket/12001] Ensure that form data is sent to server in AJAX requests.

http://tracker.phpbb.com/browse/PHPBB3-12001