Adds test for issue 3371 and enables testing with password.