[client] Fix a problem that doesn't pass userProfile correctly to the base object.