Test auth is used by /api/resource.json.