You don't have access to getting any passwords from the API. That's just a security risk.
You don't disable randoms, you override the current one and specific when the breakmanager is active and when it's not
Basiscly this ^
You can't, would be a huge data breach in security if a scripter would get access to passwords.
Osbot deals with logging and, all you have to do is specifiy when to logout and when to log back in.