Inconsistently insecure

Why use a strong random number generator in one place, but not another? I know salts have no cryptographic security requirement, but collisions are less likely if you use one.
Merge pull request #2422 from sarciszewski/patch-1

Inconsistently insecure
added back fallback mechanism for generating salt.