Fixed auth code and tests
Merge branch 'router' of ssh://github.com/DBeath/feedrsub into router