Fix to auth helper - super blunder