Allow configuration of session cookie parameters, such as session lifetime

Signed-off-by: Philipp Frischmuth <philipp@frischmuth24.de>