fix(service): fix service.isValidSession()