fix redirect to self bug that requires setting cookie
fix redirect to self bug that requires setting cookie

gigablast/open-source-search-engine,gigablast/open-source-search-engine,gigablast/open-source-search-engine,gigablast/open-source-search-engine,gigablast/open-source-search-engine,gigablast/open-source-search-engine,gigablast/open-source-search-engine