Changed team creation to auto generate unique usernames and auto generate passwords like old application

I don't think these true/false JSON conversion functions are necessary. You can use python's json library, e.g. `json.dumps(True)` and `json.loads("true")`.