Raise an error if we don't know how to login to this type of site

I didn't realize that the site code I was using was invalid, and that that was why the login was failing. It might make sense to add an error message in this case.