appview/oauth: recover from corrupted session cookies on login
authored by
lewis.moe
and committed by
tangled.org
e326cc53
da069e88