Fix gallery app for non connected user

This patch fix the sso too strict about the gallery app. Indeed non connected user (share link) could'nt see the diaporama.