Fixed baseUrl in debug mode cookie setter

Signed-off-by: Tom Wright <tom@inflatablecookie.com>