Fix caching of permissions for OSM permissions page.