Fixes #4378: White page with HTTP status: 413: FULL head

Replace https://github.com/Normation/rudder-packages/pull/492
Bug http://www.rudder-project.org/redmine/issues/4378