Fix "allow_logins_for" -handling.