Fix "Trying to get property of non-object" errors when a user tries to log in using an unknown nickname
Fix "Trying to get property of non-object" errors when a user tries to log in using an unknown nickname

minmb/statusnet,shashi/StatusNet,csarven/statusnet,bankonme/gnu-social,Piratas/tortuga,zh/statusnet,bankonme/gnu-social,zcopley/StatusNet,xebia/statusnet-oauth2,csarven/statusnet,UngPirat/freesocial,eXcomm/gnu-social,Br3nda/laconica,shashi/StatusNet,sikevux/bsk-social,d3vgru/StatusNet,charlycoste/StatusNet,zcopley/zcopleys-statusnet-clone,zcopley/zcopleys-statusnet-clone,meitar/laconica,sikevux/bsk-social,csarven/statusnet,eXcomm/gnu-social,foocorp/gnu-social,foocorp/gnu-social,zh/statusnet,brion/StatusNet,foocorp/gnu-social,xebia/statusnet-oauth2,furtherfield/gnu-social,sikevux/bsk-social,eXcomm/gnu-social,studio666/gnu-social,faulteh/gnu-social,zcopley/StatusNet,znarf/statusnet-ladistribution,charlycoste/StatusNet,charnimda/lgbtpzn-social,zcopley/StatusNet,minmb/statusnet,faulteh/gnu-social,UngPirat/freesocial,gnusocial/mainline,meitar/laconica,furtherfield/gnu-social,chimo/social,gnusocial/mainline,sikevux/bsk-social,gnusocial/mainline,d3vgru/StatusNet,eXcomm/gnu-social,Piratas/tortuga,shashi/StatusNet,meitar/laconica,zcopley/zcopleys-statusnet-clone,furtherfield/gnu-social,faulteh/gnu-social,Piratas/tortuga,brion/StatusNet,bankonme/gnu-social,zh/statusnet,Br3nda/laconica,minmb/statusnet,UngPirat/freesocial,Br3nda/laconica,faulteh/gnu-social,furtherfield/gnu-social,charnimda/lgbtpzn-social,brion/StatusNet,znarf/statusnet-ladistribution,charlycoste/StatusNet,studio666/gnu-social,d3vgru/StatusNet,chimo/social,csarven/statusnet,bankonme/gnu-social,gnusocial/mainline,studio666/gnu-social,Piratas/tortuga,xebia/statusnet-oauth2,chimo/social,znarf/statusnet-ladistribution,charnimda/lgbtpzn-social,studio666/gnu-social