Adding expiry check in DataAccessor.getAccessToken