fix: handle empty array credentials,use production wr-db backend