CLOUD-166 fixed login issue