Is there any use case where you would store hashed credentials in a cookie?
EDIT
I was discussing this problem with a colleague if it's advisable to do this. Since then, I found an example where a hashed password was used in the cookie.
Why would you even store hashed passwords inside a cookie?

browser.cookies.getAll()– osanger Feb 08 '19 at 16:27