Adding user auth interfaces to tests, see issue #37