Add realm support

/to @ritch 
/cc @bajtos @dashby3000 
The motivation behind realm prefix for username/email is to support SDKs or login forms that usually only have username/password fields.