Fix logout to clear credentials after sending logout request but before response.
Fix auth specs to fail quickly on error