There is a replacement library for that. Normally the security code is stored to the BB5 protected area but if I remember correctly this patch changes it so that the code is stored on normal filesystem. (hashed, I suppose)