persist host configuration via cookie

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>