Test password protection