Re-add post variables in setting cookie