register the auth filter