JAVA-1070: Restricted NULL Unicode character checks to cstring, so that a normal value string can contain one
JAVA-1071: authenticate no longer fails if there is no primary