dcap: Initialize CDC session

There may be room for improvement here, as dcap itself has a session field
that could be useful to incorporate. I don't know the semantics of that
field well enough to use it though.

In the meantime, this patch ensures that the CDC session is initialized
using the same format as used by other doors.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7418/
(cherry picked from commit e862fcd47f86160795c7700f8f9aba77cdfc1399)
Merge pull request #1013 from gbehrmann/fix/2.10/rb7418

dcap: Initialize CDC session