attempt to re-authenticate if authentication failed