added support for password protected muc - fixed #203 and fixed #395