Update error_log table structure
Refactor: extract function setAuthError
Log error after login, with missing refresh token, but with access token
Refactor: replace arguments with object
Code cleanup