Fix render after authentication failure

- Fix render after authentication failure