Use display name from magic cookie, fixes #4884

Sets the display name after restoring a session from cookie. Fixes #4884.

One-liner! Please review @schiesbn @PVince81 @bartv2 @xtruthx or others