Fix enforceLoginCustom. Remove the last few non constructor API errors and tidy up some responses.