allow users to login with phone and email

for more information, refer to
https://github.com/ZekeLu/MongooseIM/commit/09b10996f302dc94d90b78a966e3a79b24edc504
fork the repository