Adds methods for retrieving a Password's algorithm and salt.