Revert "The correct type for the askForPassword is boolean"

This reverts commit c2a7258f28438d147492ec39b873aa464515ce74.