check that password key exists in the array so as not to show an array error if they entered an invalid username.
check that password key exists in the array so as not to show an array error if they entered an invalid username.
nonconforme/ag-auth,nonconforme/ag-auth,adamgriffiths/ag-auth