Don't always $cookie_path, only set it when needed