Moved IPv4 login into its own module.