Fixed broken refresh after marking all items as read
JSON error handling now handled properly via HTTP 500 errors
Fixed HTTP error header for LoginController - includes actual HTTP
version in use