Added the option to change the name of the identification attribute

Our backend requires the identification attribute to be `email` rather than username, so I added the option to change that.
Let me know if all is looking good.