Support enrollment and login with glass.

My bad, didn't see the extends.