RF-13945: fix multipart form submission in JSF < 2.2.0