fix incorrect password check if hostchecker enabled