[PATCH] server: Use all group attributes in create_token.