Refactor signInSignOut test for Astro iOS project