search page template: add 'prefix' to search page template
cookie_rewriting: if domain is specified, apply cookie to coll root
rather than rewritten path.. needed in order for subdomain cookies to be
detected properly