Fix for login dialog when server is not running