MYFACES-2540 Facelets server state saving does not work (Thanks to Martin Koci for provide this patch)