RTGOV-632 Avoid server side concurrency issue when getting access code