Code to handle refresh tokens more liberally