Handle missing cyper_type and algorithm fields

When creating orders, Http 500 responses would occurr when
these fields were missing because islower() would be called
on a None type.

Change-Id: I7d1b8c71a84f1fe9d8d33f1677b358eebc888484
Fixes: bug #1210583