Make auth url extensible to other mechanisms

Change-Id: I4540357f3a7478c67b2495f4537498951c583a05