Store cookies to persist login across app runs.