Change getAccessToken behavior