Fix strange behaviour registering users including the workspace name