fixes for applicationCache with forms that require authentication