Fix bad auth code stuff