added test support for authenticated users