Added blocks support for challenge

Passcode challenge success of failure can be handled using block
instead of delegate.