Merge pull request #1560 from penguinho/doctor

Adding checks to see if authorize iOS needs to be run