MYM never sees or knows your password. All that is handled by Mojang, where they then hand us a session ID.
nah i was refering to the launcher where it remembers your password and i understand that it is kept locally