Or paste manually — on a computer, at espn.com logged in: press F12 → Application tab (Firefox: Storage) → Cookies → espn.com → copy the espn_s2 value and the SWID value into the box (any order):
Works with any account, including two-step and Google-linked. Link once — works site-wide for ~6 months.