added third delivery mode "scripted-streaming", which works on safari and IE as well. This is used on default, when libthtread is available. without libthread, it uses polling.
checking auth::UseEmailForLoginP to see if email is used for username, if not then when a users email address is updated the username no longer also updated