you're correct about the authenticate hook, this will let you set what ever you need for the login, to hide the server box just set $rcmail_config['default_host'] to one of your mail servers in your config, its going to be overridden by the work done in the authenticate hook any way.