Updated auth handling for objects vs strings