Cookies have a time limit for how long they remember stuff which is decided by the one who made the webpage. This time ran out which is why you got logged out.
To recover the password, if they don't store them in an unsecured way, a new one needs to be created and from the error you're getting...