handler: save the client for later
This fixes the specific issue where we can prompt for authentication twice on push. This is the minimal fix for the bug, even though it's slightly bad practice, in that we now (implicitly) save passwords — which we shouldn't do. But I don't see a better solution that isn't too invasive for a beta.
Fixes #379 (closed).
Edited by Dan Villiom Podlaski Christiansen