add base64 encoding to new user route, modify tests regarding same