Use display name from magic cookie, fixes #4884
Merge pull request #5415 from owncloud/fix_4884

Use display name from magic cookie, fixes #4884