Restore password with connection