Improve loading of onetimecode.js so it only loads on email-confirm page

Improve loading of onetimecode.js so it only loads on email-confirm page and not other pages using auth layout.