register with server

see https://github.com/owncloud/core/pull/12613 and https://github.com/owncloud/templateeditor/issues/12