Fixed Issue 764 - HTTP status code for expired sessions