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.
Please don't commit commented out code. Either you want it in or you don't