In this version we updated all code to swift 4.2.
A few other large changes we made. Flags were added to distinguish between server calls made for token refreshing and logging in. This protects against setting up projects in a way that could trigger an infinite loop of server calls attempting to refresh an expired token.