Login via email

Added a few lines, if there is no user value returned upon signin when looking up the username, then try the email address. Instead of having two separate configurations for login via email or username, this combines the both.

Was asked twice this week on two different projects to make this change, hence me submitting the PR, nothing major, but a nice improvement :-)