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
(cherry picked from commit cb6e36fdae1dd8bf064a7321c19d5ac5b86d74b3)