Authentication redirect follow-up

Various JSDoc cleanup