Check if user accessing details non-existent user, group and snippets is authenticated: fixes #10