Bug 833127 - fix startupcache test issues identified by asan; r=mwu