CLOUD-216 separate credentials related angular logic

this method not needed any more