updated so auth is only included in call if a token is present, also cle...

...aned up tests