adding oauth1.0 and 2.0 support for ejabberd