Added support for password fields in REST docs

Updates #219