repaired test, refactoring, unsubscribe from withings push if auth fails
repaired test, refactoring, unsubscribe from withings push if auth fails