I want to write some extension to auto-login me to a specific site (Moodle if that matters). What is the best practice for that use case of storing the user\'s password in t