Added login test for email method.