make username detection less restrictive

for example my resource was not xmpp.

thanks for the little plugin!