Make ACL register work for users with whitespace