Prevented replay attacks with recently used tokens.

Added a cache key that keeps track of recently used
tokens so that a token cannot be replayed within the
window leniency time that the token is still valid.

Change-Id: I4adfa6a41009639604fb807bae9ccbefc256dbff
Merge "Prevented replay attacks with recently used tokens."