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.
I have to test it. Open `/apps` will unprotect every Owncloud's app. You sure about this ?