fixed authentication glitch in container/agency code template form