put testCredentials() and testAuthToken() into BasicTest