adapts the saving of the access and refresh tokens to the new structure