added basic http auth

http://username:password.{{your-hostname}}.com/api/1