If firstname or lastname is null in the user attributes, the nuxeo-user-tag element will display undefined. It does not happen if both firstname and lastname are null.
See
NXP-27177 Fix nuxeo-user-avatar
PR for master: #520