getSessionCookie is broken in Next.js middleware - Better Auth