ui: restore password version from db