Support for usernames containing the @ sign.

Ejabberd accounts can authorize by replacing @ sign with % sign.