title: AccountManager blockingGetAuthToken gets stuck
body: <p>I've been using the <a href="http://developer.android.com/resources/samples/SampleSyncAdapter/index.html" rel="nofollow">SampleSyncAdapter</a>
  as a base to create my own SyncAdapter. It seems to work well to add a new account, but once I want to get the authtoken with AccountManager.blockingGetAuthToken(... it gets stuck and then throws an OperarationCanceledException after a few minutes.</p>
  
  <p>Does anyone have an Idea of what could be wrong here? The code is almost the same as the sample except I am authenticating towards my own server.</p>
  
  <p>05-24 23:00:23.258: ERROR/SyncAdapter(4961): OperationCanceledExcetpion
  05-24 23:00:23.258: ERROR/SyncAdapter(4961): android.accounts.OperationCanceledException
  05-24 23:00:23.258: ERROR/SyncAdapter(4961):     at android.accounts.AccountManager$AmsTask.internalGetResult(AccountManager.java:1255)
  05-24 23:00:23.258: ERROR/SyncAdapter(4961):     at android.accounts.AccountManager$AmsTask.getResult(AccountManager.java:1260)
  05-24 23:00:23.258: ERROR/SyncAdapter(4961):     at android.accounts.AccountManager$AmsTask.getResult(AccountManager.java:1181)
  05-24 23:00:23.258: ERROR/SyncAdapter(4961):     at android.accounts.AccountManager.blockingGetAuthToken(AccountManager.java:737)</p>