Refactor step 2 of 3: all code compiles and all tests pass.

I've made minor changes to a couple of predefined problem types.
All login endpoints now return one of: Problems.Authentication(username)
or Problems.Authorization(username, operation).