[JBIDE-126] Corrected scopes, expires_in_seconds

Defined session, read, and userinfo scopes. Added unit test to check
scope permissions and expired token
Modified to use 'expires_in_seconds' which returns the remaining time
for the authorization.