Mjbmr added a comment.
There are different options to solve this:
1. Caching password, which might still have problems with logging in different script which are sharing same cookie file, which each script have to log in again. 2. We can use different cookie files for each user on each site, might people don't know about limiting permissions. also have to do a base64 encode on usernames in case file system might not accept a username as a file name. 3. Writing cookies in different sections on the file, but still have conflict as I described in the number one. 4. Can use SQlite as a cookie database.
TASK DETAIL https://phabricator.wikimedia.org/T67196
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mjbmr Cc: Mjbmr, valhallasw, Ricordisamoa, jayvdb, pywikipedia-bugs