Use ipCookie for cookies to have expiring cookies

ngCookies does not support expiry dates, thus the switch to ipCookie
Shut up exception for closing the channel!

Apparently closing a channel when it’s already closed causes an
exception. hush!