Saved me was trying to set up Plesk/on Ubuntu on AWS lightsail and was going in a loop as OP described
Following commands solved my issue (Don´t think the 1. was neassary)
1. (sudo) set PSA_PASSWORD=new_password && plesk bin admin --set-admin-password -passwd "<your_new_password>"
2. (sudo)...