Fixed bug where needs_gauth? was checking vs 1 instead of true