adding auth support for testing