agent: Make the authorize cookie a string

This lets us use the polkit agent cookie directly, and also lets
us have a simple implementation in CockpitWebService

Fixes a crasher in the previous commit.