Authentication rework, check responses for undefined fields