ECOM-759  if course is none return 404 error code.

This works correctly, but this way of creating course keys is being deprecated.  For new tests, please use this format:
```
key = CourseLocator('edx', 'not', 'valid')
```
then to convert it to unicode:
```
unicode(key)
```