EZP-20455: removing calls to deprecated isLoggedIn() method

Link: https://jira.ez.no/browse/EZP-20455