MULE-6926: fix flaky tests

_ Marking some AJAX tests as flaky
(cherry picked from commit fa910c4)
(cherry picked from commit be346c2)
(cherry picked from commit 27a21a9)