Fix issue on resource fetch after authenticated