Handled edge-cases with expired tokens, retry once if authentication fails