Added authentication class for OpenFire