On webdav sesssions, loginname was compared to username which does not need to match necessarily
coding style
coding style
adjust test
Merge pull request #6308 from owncloud/fix_webdav_session_login_user_comparison

Fix webdav session login user comparison