plugins/muc/muc.lib: Move password check and nick conflict check into `handle_join`