Unbreak IE9 OAuth login in some weird edge case