redirectURL nil check added for handleRedirectURL

It throws nil exception when you have multiple account stores with and
without redirectURL. Nil check must be performed to prevent exception.