fix irc auth; clean up session interface