Add tests for encrypted password field and password default value.