Spoofing a credential prompt using osascript on macOS