Add email value as uid in process-login

Hi Malcolm, 
Only add user-store to get-user-by-email and related algorithms
 to know if user is using email or uid, and for using uid in subject-indentifier