fix authchoice.js

Here we are iterating via object properties, why should be check these properties existance? How could happen they are missing?