Autogenerate salts if the salt isn't configured
Autogenerate salts if the salt isn't configured

crypt() supports auto-generating salts on a per-account basis with some algorithms when no salt parameter is passed to the variable.
Insanely, passing the already hashed output to the crypt() method as its second parameter will result in crypt using the autogenerated salt and thus allowing the verification for it.
Now legacy sites will be able to use their old databases with the autogenerated salts if they don't configure a site specific salt.
sundflux/webvaloa,sundflux/webvaloa,sundflux/webvaloa