fix invalid nickserv auth when str is empty.