Fix nightly references to ones that work

Fix nuget refs, build folder in sln (which referred to nonexistent files), add vs version to build.cmd to support building from cmdline again, implement newly required applyredirect in formsauthenticationprovider.