Error handling and explicit wrong password logging for getOrders