Logout redirect with cookie caching - Better Auth