fix($browser): do not decode cookies that do not appear encoded

Closes #9211