[server][FaceRest] Use StringUtils::casecmp() to be simple (omit '== 0').

The specification of C library's strcasemp() is a little complicated.
In addition, StringUtils::casecmp() can accept a string type variable
directly.