Fixed loop variables in authz server