Chat prompts for login after connection loss

I have chat set up to connect to an XMPP server. In the account settings, I have the password filled in and normally, it connects automatically.

However, if I lose the connection, e.g. due to sleep/hibernation, chat disconnects and a login prompt appears. It does not automatically connect again unless I click ok on the prompt (which has the password filled in).

Why does eM Client not auto reconnect properly and (how) can I resolve this?