Add missing LoginRequired error class

Seemed like it was missing. Not sure if putting it in the same file is best, but there it is.