Added shared secret authentication support