Link auth tests work
Fixed resource authorization