Fix EZP-22784: Error 500 on POST /user/sessions if the user does not have access to the siteaccess

https://jira.ez.no/browse/EZP-22784

Quite straight forward...