added flexibility to the authenticated user test case to change the
authenticated user if needed.