streamserver: fix potential segfault on authentication

crypt_r returns NULL when the salt string is empty
(which happens when the password hash is empty)