@paviro Thanks a lot! I actually tried your solution before but it did not work. After your post I was sure it had to work somehow and I was able to solve my problem. My mistake was to leave out / to wrongly implement username and password.
With http://username:password@server.local:5005/calendar.ics everything is working perfectly fine.