Fix global password checking in LoginCommand