Put user/config into into html instead of cookie.

* The motivation for the switch is encoding problems when rails
  encodes JSON data into the cookie values.