Fix for test passwords_controller test