Login: better host address processing and better hint