Updating login/logout API to be the same as aetest