From http://bavotasan.com/2011/log-in-to-wordpress-using-an-email-address/