Fix bug DNN-3792: restore permissions on the user folder when restore user.