Changed username to email for authentication

Sorcery gem no longer uses 'username' by default and so I changed all the 'username' to 'email'. (see issue #812)
Merge pull request #815 from hmistry/patch-1

Issue #812: Changed username to email for authentication