FDW Permissions error using MD5 encrypted password
Can you show us where you got the idea that this should work?

There is no provision for supplying passwords as md5 hashes to postgres_fdw.  Maybe there ought to be, but someone will have to implement it for it to exist.