CLIO-12778: added check to ensure token is valid before issuing grant
CLIO-12778: refactored to check expires_at as well as invalidated_at timestamp
Merge pull request #2 from kierse/clio-12778

CLIO-12778: added check to ensure token is valid before issuing grant