fix authchoice.js

Are you sure it's defined at this point?