Add support for username and password fields.