[#1852] Fix resource view auhtorization functions

The auth functions correctly forward to the relevant `resource_*` ones,
but they were passing the data_dict as is, so `id` referred to the
resource view, not the resource.

Added new auth tests. There is a failing one that depends on #2037
[#1852] Move rest of resource views tests from old to new ones