I need to reinstall macOS on my 2011 iMac. The iMac was last running High Sierra (which is the last OS it supports) before I wiped it. I am booting into Internet Recovery mode on my iMac, but for some reason the computer seems to be retrieving Lion from Internet Recovery. This would normally be fine (I could just install Lion and then upgrade to High Sierra through the Mac App Store), but in order to install Lion, the installer asks for my Apple ID and password. I type my credentials in correctly, but the installer seems to be so old that it is unable to communicate with the Mac App Store properly, so it rejects my credentials and doesn't proceed with the installation.
Is there a way to get Internet Recovery to boot into High Sierra?