Raising jsonableError in the authentication form was non-ideal because it took the user to an ugly page with the returned json. We also add logging of this rare occurence of the scenario being handled here.