Moving extend call for setting up doctrine auth driver from the register method to the boot method and returning an instance of Guard.