Problem connecting to AMAZON EC2 with Spark

Dont know what i am doing wrong just set up OPENFIRE and trying to connect a test user to it with Spark and it keeps saying invalid username.password.

I entered the Username, Password and the IP to my Amazon Server and nothing. Can someone please help?