fix major bug with not clearing old cookies if something fails when migrating a session.
add some verbose logs to catalog view