Atomic check for invalid token roles as well.