enable incognito mode if we open a image over a public link

fixes public gallery sharing if encryption is enabled and a different user is logged in

cc @PVince81