Logging into KDE5 seems to want a second monitor connected?

I have a laptop which I occasionally connect a second monitor to through HDMI. However when I try to log into KDE things freeze until I connect the second monitor. Is there a way to stop this?