how are you?
I had the same problem and solved it by using P-User and password, instead of username and password
cf login -a <cloud_foundry_api> -u <your_p_or_s_user> -p <your_password>
The same thing happens for the BTP CLI.
I hope it works for you