Added cookie session handler implementation.