You can use 2FA in Instagram to log in. Once you enter your username and password for Instagram, you'll see this screen


Enter the code sent, and you'll be able to start searching.