Correcting value for cookie expires option.

A value of -1 will actually create no cookie at all - it creates one that expired one day in the past, thus the cookie will be immediately removed. I assume persisting the cookie is what is desired here.

The newline at the end has been edited automatically by the GitHub web editor.