title: Android account manager with private API
body: <p>For a school project i require authentication within android app.
  We would like to simplify the login procedure using Android account manager, so the user only have to authenticate once.</p>
  
  <p>our API is hosted is at <a href="http://projectpep.herokuapp.com/users/login" rel="nofollow">http://projectpep.herokuapp.com/users/login</a>.
  on a successful login (using POST username: test, password:test) you get the token.</p>
  
  <p>I followed certain demos, like <a href="http://blog.udinic.com/2013/04/24/write-your-own-android-authenticator/" rel="nofollow">this tutorial</a>, however i cannot find out how to let it make use of our own API.</p>
  
  <p>How can i use my own api in combination with account manager?</p>