LPS-37954 Fix: Move parameters to action URL to able to pass them, if the upload size is bigger than com.liferay.portal.upload.UploadServletRequestImpl.max.size
LPS-37954 Refactor: Remove unused code.