Fix the settings.prompt.login update hook
Closes #3577049
Merging !184 (closed) and !186 (closed).
- Fixes the improper sequence stored
- Changes update hook to use config factory
- Attempts to check for other plugin implementations (openid_connect_windows_aad stores a string)