error codes restored, added http error code, auto authenticate (temp, risky)