Minor fix to parse settings. 

If you add a ; at the end of your cloudstorage account settings string you will fail. Made the parse a little bit more neater + robust.