fixed #92  Added UserNotAuthenticated PHP Exception that prevents API methods from executing when an user is not logged in.

Also, the user is redirected via the jsonrpc handler to the login page when (and this is a hack) the error message contains "Please login again"