[FaceRest] Add a function to add or update a user for the test.