login with email should work even index field is customized