Set cookie path to site root

Set the path attribute on the cookie to the site root to prevent multiple cookies being set on different pages.