Fix the unit-tests
The logic in the template was using `and` and `or` but the logic in the
second block of that `or` was trying to access `g.fas_user` which was
checked before.
By fixing the logic fixed the tests that triggered off this faulty logic
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>