we first shall check if the current session is valid - otherwise the session-id will be regenerated on login via basic auth
fixing ident
Merge pull request #7632 from owncloud/fix-7582-master

we first shall check if the current session is valid - otherwise the ses...