Issue refs #1835: add security tests (and for task tags also)