I’ve noticed some weird things with $user_nicename particularly on some single WP installs. For some, the user_nicename had spaces which broke member profiles.
So I’ve had to stick to the compatibility define in some cases.
Via the commented code in WP:
'user_nicename' - A string that contains a nicer looking name for the user. The default is the user's username.