Flexible login allowing host specification