Pass attributes to refreshed token

When creating a refresh token the attributes from the old token should
be set on the new token