restore credentials to UI fields on load