I wasn't able to login to my Portainer app so I ran docker run --rm -v /mnt/user/appdata/portainer:/data portainer/helper-reset-password
It gave me a new password but when I try to login with it I get an error stating "Unable to retrieve user details: Unauthorized"