Moved cookie setting/deleting code to kbaseLoginFuncSite