Thank you Sphin. I did indeed get the username and password directly from the broker.
If I try to open an account from inside Avatrade MT4 it doesnt seem to work. I got stuck in the open account dialog without getting the username and password.