Added support for login credential verification using REST API