4153 Fix error when trying to edit external work

https://code.google.com/p/otwarchive/issues/detail?id=4153

Having some trouble with the tests locally and want to see if it's the test or me.
The 500 error was happening because it was trying to check user preferences even when the work was an ExternalWork, and ExternalWorks do not have users.