upon database restore enforce password check if needed