[server][testFaceRest] Fix a cransh on TravisCI.

The reason of the crash is the same as that written in the previous
commit: 94064c0c.