Revert "The persistent cookie duration is now 30 days by default."

This reverts commit 9a2ba7807adfa453deaedf1c892ca94da9fa6c2e.