fix auth token encoding, update dgrid