test(server): Fixed User model and server integration tests.