Refactor cookie auth to be .authWithCookie()