Fixed a bug for BZ#1055866 - Create endpoints should return a 201 status, where the 201 status wasn't being returned in some cases.