sas: fix 500 error when tagging the same user twice or adding a non existing user

2 jobs for bugfix in 37 minutes and 45 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed #3002
black

00:04:15

passed #3001
test

00:37:45

63.0%