Add a test for the double auth problem

This is a test for #91, hallyn was too fast on the merge and I hadn't pushed it
yet.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>