Properly catch exception if user has no defined password