Moved authentication out of transports; moved away from username and password to token based authentication