Select the provider selected in the login widget.

In the preferences window, now we select the current provider from the
login widget, no matter if the user is logged in or not.

[Closes #4490]
Merge remote-tracking branch 'ivan-github/feature/4490_preferences-selects-current-login-widget-provider' into develop