Correct a runtime error in our tied session error handler

loc() isn't a function available from within the internals of the
Session class, and especially not when we failed to store the current
user's session.  Localization of this error doesn't make sense anyway
since it now goes to the logs and not the end user.
Merge branch '4.0/session-store-failure' into 4.0-trunk