Koji auth

Fix authentication of Koji sessions
Right, the `close_session` just can't work any more if the logged in session isn't shared...

Do we even need to log out?

Should we keep a reference on all open sessions and log them all out in the `atexit` hook?