This encapsulates the case where the password received over the network
has been hashed with the identity function (That is, not at all). The
CredentialsChecker may store the password in whatever format it desires, it
need only transform the stored password in a similar way before performing
the comparison.