#19: Removed username requirement on creating an account. Added assertion for token type. All other fields are optional and may be nil.