get user's salt, fixes #31