Added getCurrentSession to AuthenticatedService.