[CHANGE] fix for broken auth helper function;