The photo platform is testing a new way to get back into hacked accounts.