Database component of new behaviour of sending password reset emails from Synapse instead of Sydent. Allows one to store threepid validation sessions along with password reset token attempts and retrieve them again.