Password change policy improvement.

Only allow the user to change its password if is logged in and:
- provider supports email and its started.
- provider does not support email.

In case that the conditions needed are not fullfiled, show the user the
actions needed to be able to change its password.

[Closes #4093]
Select the logged in provider in the pref. window.

[Closes #4117]
Merge remote-tracking branch 'ivan/bug/4093_change-password-policy' into develop