Website slot bug fixes

WindowsAzure#2241
WindowsAzure#2242