Issue #7818: Making sure UploadField can find the form/SecurityID on direct page load/refresh