Accommodating for potential login failures due to app key/redirect urls going stale.