title: How to pass username and password in TeamCity REST API
body: <p>I've just started to experiment with the TeamCity REST API. I've been some of the documentation about what types of commands I can call, etc, but one thing which is not mentioned is how to pass a username and password to the API.</p>
  
  <p>I've not been able to find examples of this; so can someone help me out please?</p>