[FIX] 2fa: make it work on the security page

This includes an update to ripple-lib at develop/edbbbec8f341d736095a5580b60edc1bef59b3e9