Bug fix for `secure` and `httpOnly` updating.