Add test for storage check restricted grant type
Add unit testing and apply fix to checkRestricted method of Redis storage