Change cookie, configuration and cache files to use appdir path.
Review Request #11423 — Created Jan. 31, 2021 and updated — Latest diff uploaded
We need to unify the locations that store cookie, config and cache files for the later releases.
Copy any legacy cookie files to the new appdir path and create new cookie file at the new appdir path if no legacy cookie files exist.
Write a test for generate configuration file in appdir path and pass it.
Write a test for create_cookie_jar and pass it.