Modified auth to work with unittest2 discovery.