hub.c: Enable active mode if IP is known before logging in

This fixes a bug where you could remain in passive mode if you have an
'active_ip' set.