Added sanity test for decodeAuth.