doors: Base64 session counter

To shorten the session string a bit, this patch base64 encodes the
session counter.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7408/