Python implementation of Relying Party functionality for Mozilla's Persona (BrowserID)