Display input to enter password for password protected posts

Hi,

I was wondering if someone can point me in the right direction to add a password input field to be able to view posts that are password protected. Now the posts are blank that are password protected. Thanks for any help. If there is any plugin to install for wordpress that would do the trick for rest api connections that would also be useful.