Reorganize the data in the success response from /rest/login