Add the "showauth" extension in ext/misc.
Add test cases for ticket [89398880bcfff9].