yaml: use selected user and not admin for onchange

Fixes: #1885
yaml: use selected user and not admin for defaults
Merge pull request #1886 from lepistone/7.0-fix-yaml-onchange-user

use selected user and not admin to run yaml tests