RAZ-3288: Incorrect folder permission set after file upload
- Fixed session variable being overwritten when UPC check is turned on resulting in incorrect permission being retrieved