Single Sign On Against Cscart 4.x. On Different Website

I created a login form on my website and want to check the user name and password against Cscart cscart_users table to set a session so they stay signed in but I can't find the correct combo of checks with PHP. I have some users with salt, others without.

Any Guidance?