Dont use the registry settings as noted but they suggest TweakUI which still probably uses APIs to logon.