Fixes #3927: accept authorized net with space, remove them on user submit