Critical Feature Missing in the Web ChatGPT

There is a very necessary missing feature on the ChatGPT website.

A user opens the ChatGPT website for the first time and is not logged in.
They enter multiple prompts.
As soon as they request an image generation prompt, they are asked to log in.

When the user logs in, the entire data from that particular session is lost.

I am fine with not recovering the entire chat conversation,
but the prompt for which the user was asked to log in should be recovered.

I believe this is a critical feature that needs to be implemented.

Thanks and regards,
Manash