Added check for username in config when requesting password