Ensure that isTransientAuthentication reuses the same authentication object from saveContext Closes gh-8947