Updated to allow WordPress to handle any necessary redirects in admin URLs. Allows asset optimizer to make unauthenticated requests from the server.