Make sure resp.Username is defined before hashing. Fixes #2356 (#2357)
Make sure resp.Username is defined before hashing. Fixes #2356 (#2357)

Co-authored-by: Jason Quigley <68c46a606457643eab92053c1c05574abb26f861@onecha.net>
matrix-org/dendrite,matrix-org/dendrite,matrix-org/dendrite,matrix-org/dendrite