Adds options to allow password as well as public key authentication types.