Updated algorithm storage handling

A single cookie wasn’t saving multiple algorithms so moved them to
separate cookies