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