Fixed a bug in launching with a password