This is deprecated by the Persona team; any ready it's being used? This looks like a duplicate on the onlogin fn below?