Fixed authentication token encryption
tidied up travis config file