Added an endpoint for Smartcloud form based auth