access: infinite recursion hotfix
access: infinite recursion hotfix

* Temporary fix for the occasional issue causing infinite recursion
  error upon loading the session. (addresses #2509)

Reviewed-by: Jiri Kuncar <2bdffcb416fed3002465740d19a053a39918cbe5@cern.ch>
Signed-off-by: Jan Aage Lavik <8d55e006a1b29770f275a5c59a7341f17f8e69d5@cern.ch>

inveniosoftware/invenio-access,tiborsimko/invenio-access,inveniosoftware/invenio-access,tiborsimko/invenio-access