Allow login url to be specified in cc

Change-Id: Ibf51fa0dce6bf07fcfc758487eb772ae245d4317