Enable authentication with code - gam - v18

Enable authentication with code - gam - v18