#10: Fix cookie lifetime not being updated.

This should work well for "normal" logins, but currently not for "remember me" sessions. A fix is in the works.