Add checking to see if we're an IPA server. This fixes #2.