The authority of the Holy Catholic Church is institutional and God given, and is recorded in the Scripture. Yes, we also had bad popes.
Yeah, the way ROME has managed to INSERT itself into 'scripture' is quite a sight to behold.