Fix bug with access/refresh tokens