2.1.19 - Patch correcting upgrade issues

#471 - Correct typo in upgrade_ajax
#391 - Unable to log in after upgrade
2.1.20 beta

Merged 2.1.19-PatchA