Renamed auth_code to code