Fix and test token revocation list API

Change-Id: I07257b3704895a2af2654aa863f0b910122666da