fix a bug that user quit group successfully but return an error
rollback register/auth changes

try to extend XMPP rather than to modify it

purpose:
add this functions while keeping the old ones work:
1. authenticate user with phone number/email
2. register with phone number/email

We will implement them in these two new modules
  cyrsasl_scram_aft
  mod_register_aft