add cookies functionality
fix remember typo and update persistence test suite
add optional remembering + test suite