[BUG] Strip leading/trailing whitespace from registration form