Fixed bug in download signal where an invalid password crashes the session.