Adds auth tests around log in/out
Reverts back to 71325e90