Fixed some minor bugs in connecting auth links