Before calling the API did you logged-out the user in your application? Also try verbose_sso_logging to debug.
verbose_sso_logging