Define setLoginStatus function
<rdar://problem/131406381>
Pull request: https://github.com/WebKit/WebKit/pull/30613
Committed 281308@main (eef217164831): <https://commits.webkit.org/281308@main> Reviewed commits have been landed. Closing PR #30613 and removing active labels.