added tests for AuthenticationControllerMixin