#95 fixes client auth issue with Tigase

as discussed before, here's the fix for Tigase auth alone. test included.