Changing AccessTokenEntity.type to String.