Fix Prosody Registered Users

I use python 2.6 & python 2.7 
len([listfiles(account_dir)])
returns everytime 1

The generator must be executed to get the corrent number of registed users.
Merge pull request #341 from hefee/patch-1

Fix Prosody Registered Users