JCR-2327: Allow to set permission for users that has a space in their login