Support login older accounts

Added support for logging in older accounts with no email address
registered.