Allow to use email instead of username

This should, in theory, work...