A user's groups field is not initialized correctly because it's automacially done and initialized to null instead of an empty array.
Merge pull request #30 from Transformapp/login

A user's groups field is not initialized correctly because it's automaci...