Check for a password before retrieving it