Fix call for rendering Unauthorized resources
Add workaround to allow importing JSON-LD-like metadata