Globalise cookies to domain

Previously cookies would get regenerated for each path seperately from local storage. This commit prevents the need for an extra refresh on newly-visited boards.