Take wgCookiePrefix into account when faking cookies

Bug: T76684
Change-Id: Ia0be5c791fdc5268a9915445febd5e9c1a8ea367
Merge "Take wgCookiePrefix into account when faking cookies"