CacheStorage creation should throw for Principal with unknown app ID instead of crashing.