Fix backend treating uppercase UUN as different user
Currently the backend treats UUNs with varying case and whitespace as different users, which means a person can create multiple accounts by varying the capitalisation or adding some redundant spaces on either side. This is undesirable and is fixed in this MR by stripping whitespace and converting UUN to lowercase before processing it.