Changed the way Cookie.read finds value

Uses a RegExp now.