Additional query error callbacks

Additional error handlers when sign in fails or encryption is declined.