We were incorrectly comparing against SECRET instead of n.secret