Set default cookie path to webroot instead of base.

Refs #5404