password encoder. needed for integration tests.