Fix stopMobileRedirect cookie being set twice with different prefixes

This commit is just a beginning, this whole thing requires much more work.

Bug: 66888
Change-Id: Iceceec749517f637919c7cf2d121ae024fe1cd80
Merge "Fix stopMobileRedirect cookie being set twice with different prefixes"