It seems that .passwd contains wrong password. Could you please check it?
No. The password is always correct. Check you don’t have space at the end of your flag