Bug fix - on line 106 when select ac_passsalt_vc and there are deleted accounts with a username that has been used, the wrong salt is returned. Added ' AND ac_deleted_ts IS NULL' to query to get salt for active account