fix a bug with detecting auth_token that @hsy noticed
fix a bug with detecting auth_token that @hsy noticed

sagemathinc/smc,DrXyzzy/smc,sagemathinc/smc,tscholl2/smc,tscholl2/smc,sagemathinc/smc,DrXyzzy/smc,tscholl2/smc,tscholl2/smc,DrXyzzy/smc,DrXyzzy/smc,tscholl2/smc,sagemathinc/smc