Refactored build of account names into the library
Adapted code to URIs refactoring in OwnCloudClient