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