detecting corrupted bcrypt error