Usernames have to be unique, trying to make a new user with an existing username results in a 500, this fixes it.