Fixed terminateSession() to specify the same "path" and "secure" attributes when clearing out the cookie.

See also issue #174.