Fix #1818

resource_show function now delegates in new_auth to check if a user is able to view a package. With this improvement, resource_show uses the package_show function defined across all the system (maybe in a plugin) and no the one set by default.
Fix #1818 issue