In merge cart, check to see if headers have already been sent before clearing the WPEC cookie.
Discussed in this support thread: http://wordpress.org/support/topic/wpec-creates-new-users-each-time-i-load-a-page?replies=12#post-5197801