security: when login is required don't return the site node in the preload store
added a job to clean up orphan uploads
faster migration by avoiding to query the db for local thumbnails