Fix salts and caching of unauthorized pages in build