Fix issue #5372: test_comment_notification fails with werkzeug 0.11 or newer