Follow the instruction here to allow both Cornell NetID user and Weill Medical ID user to login to your site: