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>
Merge pull request #97 from tych0/test-double-auth

Add a test for the double auth problem