[client] Fix tests broken by e1ac2721 (replace user with userProfile)