Fixes #3823 Properly parse auth tags as variables