Authentication test mixin