Corrected proposed nickName if displayName is empty

Jira Issue: WP-1221