Fixed Amazon S3 ext storage config UI

Optional parameters are now really optional

Fixes #5861

Please review @karlitschek @schiesbn @DeepDiver1975 @icewind1991 

I don't have access to S3 at the moment so couldn't get past the "backend status test".

@ser72 can you test this ? (this is branched off master)