api/v0/users: do not allow nil request body in jsonToUser
api/v0/users_test: add TestUsersAPI