updated with passwordChanged and credential's provider object
merged changes