Changed password input so it uses hash(), selecteble algorithms and salt

We needed a password field that was safer than md5 only.
So i added algorithm setting so u can choose the encryption algorithm, a setting for a salt and salt location.