hostmanager, mod_{muc/auth_anonymous}, muc.lib: simplify code. (Fixes #178)