Simplify requirements in composer.json.
Specify whether username is required.