rewrite Authenticated action
fix test failures