Fixes bug #587 - strdup crashes on NULL, our validators user/password buffers remain NULL given they are not provided.