Added appName to cookies to allow multiple apps to run under the same domain but different subdomains or ports