Added name to login button.
Changed login button removed name added id.
Added debug printing of authKeys.
Added another debug print.
Moved previous print inside of if.
Reversed if statement.
Added another debug print.
Changed var names. Possible collision.
Added browser based test.
Removed debug printing.