fix for issue #27 - present error if password fails