Add support of APMD5 password type in DB