Updated post-deploy cleanup with new folder syntax.
Fixed error page rendering.
Changed username index to sparse because it's a nullable field.