Domyślnie wymaga 2 argumentów, 1 dostarczonych

You have an extra space which causes the error.

value="{{ form.username.value|default_if_none: '' }}"

should be
value="{{ form.username.value|default_if_none:'' }}"
BlueMoon