[Bug 867459] [NEW] REST API: Implement a simple way to check user credentials