fix link + decrypt password

Fixes: #380 and fixes: #307