Use mw.cookie for CTA flag due to localStorage capacity issues

Bug: 65566
Change-Id: I767b3938ce604270e54e63bbc3061c777bcabaa0