s3: Allow previous password to be stored and use it to check tickets