Shedna/enable third party auth on studio

@talbs can you check for the buttons' style ?
@johncox-google if you wanna take an eye on this ?
cc @nedbat
Same comment re: repeated code that could be refactored into a utility method.