mod_register_json: added check for invalid characters in the username.
mod_register_json: added check for invalid characters in the username.

Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules