Fix RemoteUser implementation of setMetadata