Fix SQL SecurityManager::userList() & sys.dbAll

Previously ret was redefined, the return value was never filled with the user names.
Merge pull request #1213 from TheUnknownOne/patch-5

Fix SQL SecurityManager::userList() & sys.dbAll