Fixed #8404 -- Isolated auth password-related tests from custom templates