Improve performance of handling servers with invalid .well-known