Update plugins/password/password.php
Add logic for checking supported IMAP hosts
Make use of additional config option
'password_supported_hosts' (see config.inc.php.dist).
If current IMAP host is not in array of defined
hosts, exit and suppress Password option in Settings.