Add in the rest of code for authAgainstCorp. Not hooked in though.