[fix] Fixed crash if user tries to log in twice

Fixed a crash where BeanPlant Chat would fail to attempt to log in twice