Update cal.php

extended switch for using BasicAuth for Windows Phone and DigestAuth e.g. when iPhone tries to connect. Now Baikal is more flexible to support iPhone and Windows Phone on the fly.