set incognitoMode to true during upload to a public folder

set incognitoMode to true, getUser() should always return false during public upload

fix #10490 

cc @nickvergessen @icewind1991 @PVince81