added authrep method

2.0.2 which adds the authrep method. We've used the method in production for a couple of weeks now.

It also fixes a possible test failure. Perl hash keys are unordered so looping over them can be different from system to system. In my case the test ran fine on Ubuntu 12 but kept failing in Ubuntu 14.